Red Hat 7.0 system, configured as a slave nameserver for 3 domains. Those
are listed in the 'search' directive within /etc/resolv.conf:
search abc.com xyz.com foo.net
The 'host' utility in bind-utils-8.2.2_P5-25 doesn't work properly for
lookups within the
second and third domains. Typing "host server-name", where "server-name"
in the second or third zone, will not display the address of the host. But
it will display
other zone info, such as "mail is handled (pri-nn) by".
If you type "host -v server-name" then the A record DOES appear in the
If you change the order of the domains in the resolv.conf 'search'
directive such that
"server-name"'s domain is listed first, then "host server-name" displays
server-name.xyz.com has address 192.168.1.38
I have a Red Hat 6.1 server that is also a slave nameserver for the same
It is configured the same as the 7.0 server as far as named is concerned.
and /etc/named.conf are identical.
On the 6.1 server, 'host' is from bind-utils-8.2.2_P3-1. This version
works as expected.
The host command is in the bind-utils package. Reassigning to the "bind"
The bind-8.2.2_P7-0.6.2 package was released for Red Hat 6.x to fix a DoS attack
This updated package introduces this same bug into Red Hat 6.x - the resolver
list is broken.
Fixed in 7.1