Nslookup problem

Sangoi, Nehal (Gexpro, consultant) Nehal.Sangoi at gexpro.com
Mon Jul 2 20:31:05 UTC 2007

They work when the IP address of the forwarder is set explicitly in
either of the tools. [nslookup or dig]. But, the pointer to localhost
does not work to resolve the same through forwarders line in
/etc/named.conf file. I am still struggling to understand the reason
behind the problem.


-----Original Message-----
From: Stephane Bortzmeyer [mailto:bortzmeyer at nic.fr] 
Sent: Monday, July 02, 2007 4:25 PM
To: Sangoi, Nehal (Gexpro, consultant)
Cc: bind-users at isc.org
Subject: Re: Nslookup problem

On Mon, Jul 02, 2007 at 02:24:37PM -0400,  Sangoi, Nehal (Gexpro,
consultant) <Nehal.Sangoi at gexpro.com> wrote  a message of 60 lines which

> The dig output for resolution, works perfectly fine as shown below.
> [root at abc masters]# dig @ soa cc.abc.com


> But my nslookup output gives below error.
> [root at abc masters]# nslookup
> > cc.abc.com
> Server:
> Address:
> ** server can't find cc.abc.com: SERVFAIL

It is not the same request! IN the first case, you query, in the
second, you query localhost.

> > server
> Default server:
> Address:
> > cc.abc.com
> Server:
> Address:

This one queries and works.
> What could be the reason for dig be worknig fine and nslookup be 
> failing?

Because they both work... when asked the same question.

More information about the bind-users mailing list