NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD and hostname



On Mon, May 19, 2008 at 12:59:13PM +0200, Christian Baer wrote:
...
>   $ fgrep hostname /etc/rc.conf
>   hostname="sunny.rz1.convenimus.net"
>   $ hostname
>   sunny
> 
> There is a dhcp-Server configured. But that shouldn't make a difference, 
> especially since "host ip-address" returns the right value (FQDN).

  If some of the config is coming from DHCP, does adding

    supersede host-name "sunny.rz1.convenimus.net"

to /etc/dhclient.conf, e.g., something along the lines of

  interface "xyz0" {
    ...
    supersede host-name "sunny.rz1.convenimus.net"
    ...
  }

make a difference?  (man dhclient.conf for more info)

Cheers,  --Dave


Home | Main Index | Thread Index | Old Index