nslookup: giving error when used with UDP

Barry Margolin barmar at alum.mit.edu
Wed Apr 28 14:20:53 UTC 2004


In article <c6nn7i$14ua$1 at sf1.isc.org>,
 sekhar n <sekhar_nv at yahoo.co.in> wrote:

>  Hi all,
>  
> i am facing the problem with DNS/BIND.
>  
> when I tried nslookup (from the machine with Tru64 Unix OS) without any 
> option (meaning it uses UDP to send 
> the packets), the server is returning the error.
> nslookup hostname
> can't find hostname: Server failed
>  
> When I used nslookup -vc option(if you mention -vc option, then it uses 
> TCP to send packets), the server is responding properly.
>  
> nslookup -vc hostname
> This time it is giving the IP address of the hostname by using the default 
> server.

Don't use nslookup, use dig.

-- 
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