nslookup

Mickey.Olsberg at edwardjones.com Mickey.Olsberg at edwardjones.com
Fri Dec 17 16:25:14 UTC 2004


Type 'nslookup' press <enter>
Change to the server you want to query for the records:
'lserver 10.10.10.10'
Use the 'ls' command to list the domain:
'ls -d isc.org'
Do this for each domain that the system is authoritative for.
There is no way that I know of to pipe this output to a file, so I don't 
know how you'll compare it. Why don't you just do a 'diff' on the zone 
files themselves?

And by the way, while dig is a bit different on the switches, there are 
still enough similarities to figure it out. '-q' is the same as 'set q=' 
(AKA 'type'). The '@' sign is added to the server IP to query, but 
that't the only difference between the commands. ('nslookup www 
10.10.10.10' vs. 'dig @10.10.10.10 www'. This isn't rocket science 
guys...

Mickey

-----Original Message-----
From: tim [mailto:tim at it.kpt.cc]
Sent: Friday, December 17, 2004 9:02 AM
To: comp-protocols-dns-bind
Subject: Re: nslookup


On Friday 17 December 2004 09:35, Dean Brooks wrote:
> On Thu, Dec 16, 2004 at 05:38:25PM -0600, Tim Kelley wrote:
> > On Wednesday 15 December 2004 15:40, Plantier, Spencer wrote:
> > > Is there a way in Solaris 9 with nslookup to see all the DNS 
records.
> > > We are converting DNS to a new box and trying to verify that we 
have
> > > all the records transferred over.
> >
> > For god's sake, just stop using nslookup and use dig.
>
> Maybe if dig didn't have the world's most convoluted and non-standard
> options processing, more people would embrace it.
>
> I still have to look up the dig manual every time I use it because
> whomever wrote it decided to abandon standard UNIX options types and
> instead came up with this bizarre combination of options followed by
> host names followed by options followed by @ signs followed by options
> followed by host names.

well, there is a point there (like having to do +search, etc) but the 
value in 
seeing the entire dns response (flags, sections et. al.) outshadows any 
usability issues in my opinion. "nslookup" is just a straight up piece 
of 
crap for troubleshooting any dns issue.

-- 
  _   _   _   _   _   _   _   _   _   _   _   _   _  
 / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ 
( t | i | m | @ | i | t | . | k | p | t | . | c | c )
 \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ 
GPG key fingerprint = 1DEE CD9B 4808 F608 FBBF  DC21 2807 D7D3 09CA 85BF





More information about the bind-users mailing list