Red Hat Bugzilla – Bug 56660
/etc/resolv.conf search for nisdomain.
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
Version-Release number of selected component (if applicable):
When I boot using dhcp and the dhcp server tells the client what nis-domain
to use, that is used for updating "domain" and "search" in /etc/resolv.conf.
I expected it to only use (dns) domain-name for /etc/resolv.conf.
The dhcp server I use is dhcp-2.0p15-4 on RH7.1. I don't think there is
anything strange with the answer it gives. The client's
/etc/dhcpc/dhcpcd-eth0.info includes both a "DOMAIN=..." and a
"NISDOMAIN=..." line with correct values.
As of dhcpcd-1.3.21pl1, the 'domain' is not written out, and the 'search' path
includes both the DNS domain and NIS domain. For some people (such as myself)
this is needed, and for the others, it does not hurt anything beyond a
negligible performance loss, so I will leave it as-is.