resolver, search command....

John Williams john.1209 at yahoo.com
Wed May 8 14:32:03 UTC 2013


my resolv.conf looks  like....

nameserver 10.10.10.10
nameserver 10.10.10.20
search path1.mydomain.com path2.mydomain.com

I would expect if I type the following:

dig myhost

It would search for that host in path1 or path2 listed above.  It does not, a +trace shows the resolver querying the root servers for myhost.  So it appears the search command does not work in environment.

[root at server1 # dig myhost +trace

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> myhost +trace
;; global options: +cmd
.            98386    IN    NS    k.root-servers.net.
.            98386    IN    NS    m.root-servers.net.
.            98386    IN    NS    b.root-servers.net.
.            98386    IN    NS    i.root-servers.net.
.            98386    IN    NS    e.root-servers.net.
.            98386    IN    NS    f.root-servers.net.
.            98386    IN    NS    a.root-servers.net.
.            98386    IN    NS    d.root-servers.net.
.            98386    IN    NS    j.root-servers.net.
.            98386    IN    NS    c.root-servers.net.
.            98386    IN    NS    g.root-servers.net.
.            98386    IN    NS    l.root-servers.net.
.            98386    IN    NS    h.root-servers.net.
;; Received 512 bytes from 10.176.156.20#53(10.16.16.20) in 9 ms

^C[root at server1]# vi /etc/resolv.conf ^C


Any idea why?  Thanks in advance...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130508/366e3402/attachment.html>


More information about the bind-users mailing list