I'm trying to move from a Unix-based DNS to an AD setup, 
changing DNS domain name (but not NIS domain name) in the
process. I'm testing by switching DHCP servers on and off.

I had a problem with NIS and while investigating noticed that
some key files seem to have changed since the last time I
rebooted the machine some months ago:

/etc/hostname           ->      /etc/conf.d/hostname
/etc/dnsdomainname      ->      /etc/conf.d/domainname
/etc/nisdomainname      ->      /etc/conf.d/domainname

Is there any reason for this? Was something broken with
the old way of doing it?

Given that the DHCP server gives out the hostname and
DNS and NIS domain names, should these files be left
empty?

/etc/conf.d/domainname is a bit confusing:

>#DNSDOMAIN=""
>
># This only set what /bin/hostname returns.  If you need to setup NIS, meaning
># what /bin/domainname returns, please see:
>#
>#   http://www.linux-nis.org/nis-howto/HOWTO/
>#
>NISDOMAIN="insignia"

Which line does that comment refer to, the one above or the
one below?

Jim

-- 
gentoo-user@gentoo.org mailing list

Reply via email to