Nslookup problem
Stephane Bortzmeyer
bortzmeyer at nic.fr
Mon Jul 2 20:24:39 UTC 2007
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 said:
> The dig output for resolution, works perfectly fine as shown below.
>
> [root at abc masters]# dig @1.2.3.4 soa cc.abc.com
...
> But my nslookup output gives below error.
>
> [root at abc masters]# nslookup
> > cc.abc.com
> Server: 127.0.0.1
> Address: 127.0.0.1#53
>
> ** server can't find cc.abc.com: SERVFAIL
It is not the same request! IN the first case, you query 1.2.3.4, in
the second, you query localhost.
> > server 1.2.3.4
> Default server: 1.2.3.4
> Address: 1.2.3.4#53
> > cc.abc.com
> Server: 1.2.3.4
> Address: 1.2.3.4#53
This one queries 1.2.3.4 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