Solaris8 nslookup issues

Barry Margolin barmar at alum.mit.edu
Fri May 7 18:03:00 UTC 2004


In article <c7gh0v$1ovb$1 at sf1.isc.org>,
 star_night at my-deja.com (star night) wrote:

> Is there a situation when nslookup will not use more than one server
> listed in /etc/resolv.conf? The reason that I am asking is because
> nslookup failes to resolve when it should have succeeded. With debug
> options I can watch it go through the search list one round and time
> out. I am assuming it is using the first server listed in resolv.conf
> at that time. If I explicitly give the second name server to nslookup
> to use as the nameserver then the previously failed query succeeds.
> This is what is leading me to believe it is not using 2nd listed
> nameserver.
> 
> Also is there any nslookup query options to print the nameserver it is
> using when there are multiple nameservers listed in /etc/resolv.conf?

nslookup is supposed to try all the servers in resolv.conf.  However, 
the order and timeouts that it uses are different from the way the real 
resolver does it.  The "DNS & BIND" book has a section that describes 
the differences.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list