FYI -- nslookup

Barry Finkel b19141 at achilles.ctd.anl.gov
Wed Jun 19 13:53:16 UTC 2002


"Andrew Flagg" <andyf at the-onramp.net> wrote (in part):

>this is pretty cool. the nslookup command on XP pro... using the ls -d.... 
>
>i just can't figure out how to show PTR records for reverse DNS info. type=PTR doesn't work.
>
>----- Original Message ----- 
>From: Andrew Flagg 
>To: mcs at the-onramp.net 
>Sent: Tuesday, June 18, 2002 12:28 AM
>Subject: update on nslookup
>
>
>
>pretty cool.. the command called "ls" is cool. it gets all the data right now.. no need to set and use the type command.
>
>c:\windowsxp\>nslookup
>
>> server ns2.the-onramp.net
>Default Server:  ns2.the-onramp.net
>Address:  64.42.26.7
>
>> ls -d andyf.com
>[ns2.the-onramp.net]
> andyf.com.                     SOA    webster.andyf.com bigdog.the-onramp.net.
>(2000206162 43200 7200 3600 3600)
> andyf.com.                     NS     ns1.the-onramp.net

In what zone were you searching for PTR records?  The command

     ls -d andyf.com

will not return any PTR records, because (I assume) that there are no
PTR records in that zone.   If you tried a zone transfer on a zone like
this

     ls -d 221.150.207.in-addr.arpa

you will see PTR records, assuming that you are allowed to do the zone
transfer.
----------------------------------------------------------------------
Barry S. Finkel
Electronics and Computing Technologies Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: BSFinkel at anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994



More information about the bind-users mailing list