On Mon, 3 Dec 2001, Howard Lowndes wrote:

> It seems to be a morning for questions.
> 
> I have dhcpd running on a machine on my network with "get-lease-hostnames
> on".
> 
> Some machines that use this dhcpd pick up their assigned lease hostname
> which says that this function is working, as reported by /bin/hostname.
> 
> Others don't, staying with the default localhost.localdomain even though
> there is a valid hostname in the DNS.
> 
> What determines whether the default hostname gets overridden by the
> assigned hostname.

I found that if you have /etc/hosts entries or something setup in 
/etc/sysconfig/network (is this file RH specific?) it can override what 
comes from your DHCP server. This is how my laptop's setup because I want 
to keep the hostname the same every time.

-- 
---<GRiP>--- 
Web: www.arcadia.au.com/gripz 
Phone/fax: 02 4950 1194   
Mobile: 0408 686 201


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to