In Red Hat 5.2, the domain-name option information returned
by the DHCP server was entered by the dhcpcd client into the
/etc/resolv.conf as a "domain" record.
In Red Hat 6.0, the pump client daemon enters the "domain-
name" option into /etc/resolv.conf as a "search" record.
This results in a behavior change that might cause a 6.0 host
to not be able to resolve names that a 5.2 host could.
In our case, our DHCP server includes the global option:
option domain-name "cert.org";
Under 5.2, the first line of the /etc/resolv.conf then read:
Under 6.0, the first line now reads:
On the host "weeks.blue.cert.org", the short name "weeks"
resolved to the local host under 5.2. Under 6.0, it does not
resolve at all.
What was the rationale for changing the record in /etc/
resolv.conf from "domain" to "search"?
How is one supposed to get previous behavior back?
Ancient bug, closing.
The 6.0 behaviour looks correct - the 'domain' keyword is rather obsolete...
Perhaps there is a glibc bug - if this problem still exists in 7.1, please file
a new report against that release.