setting the client hostname

Jeremy C. Reed Jeremy_Reed at isc.org
Tue Feb 17 15:28:10 UTC 2009


> ---- Steve <zephod at cfl.rr.com> wrote: 

> > Can someone point me to where dhclient sets the hostname from what is 
> > received fron the dhcpd server?


Have a look at the dhclient-script(8) manual page and your installed 
dhclient-script.


> > It appears to be some time after 
> > dhclient becomes a daemon which causes stdout and stderr to be closed 
> > and so I don't know how to debug this any further. Perhaps it is 
> > possible to write to the system log somehow?
> > 
> > My problem is that the hostname is set to one of two different values 
> > every other time the machine is booted. ie
> > 
> > boot #1 -> hostname A
> > boot #2 -> hostname B
> > boot #3 -> hostname A
> > boot #4 -> hostname B
> > etc
> > 
> > The hostname is always supposed to be A.
> > I'm trying to find out whay this is happening.
> > 
> > Thanks,
> > Steve
> > 
> > Running dhcp-4.0.0 on Fedora 9.



More information about the dhcp-users mailing list