difference between nslookup and dig

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Feb 4 20:09:19 UTC 2003


KIRAN MN <kiranmn at my-deja.com> wrote:

> 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=3Dpure.test.com
>>
> How to change this behaviour to old. I tried setting set type=3DA, stil=
l
> it is giving same format of output, Please help my some of the scripts
> depend on this nslookup output.

Better suggestion, dump nslookup and read about "real tools", dig is one.


nslookup is an oxymoron that escaped the labs.

> Thanking you,
> kiran


--=20
Peter H=E5kanson        =20
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out=
,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list