difference between nslookup and dig
David Botham
dns at botham.net
Wed Feb 5 10:34:36 UTC 2003
> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of KIRAN MN
> Sent: Tuesday, February 04, 2003 7:35 AM
> To: comp-protocols-dns-bind at isc.org
> Subject: difference between nslookup and dig
>
>
> hi,
>
> I have old linux machine on that named is running, when i do
> reverse lookup for say 192.1.2.3 it gives output as follows.
>
> >192.1.2.3
> Server: [192.1.52.3]
> Address: 192.1.52.3
>
> Name: pure.test.com
> Address: 192.1.2.3
> >
> When i installed new version of redhat linux on some other box, i am
> getting following output in nslookup
> >192.1.2.3
> Server: [192.1.52.3]
> Address: 192.1.52.3#53
>
> 3.2.1.192.in-addr.arpa name=pure.test.com
> >
> How to change this behaviour to old. I tried setting set type=A, still
> it is giving same format of output, Please help my some of the scripts
> depend on this nslookup output.
Um, you don't change it without changing the source code.
To query name servers, use dig.
To write test scripts, use Net::DNS PERL module.
Thanks,
Dave...
>
> Thanking you,
> kiran
More information about the bind-users
mailing list