nslookup

Barry Margolin barmar at alum.mit.edu
Wed Dec 15 23:04:59 UTC 2004


In article <cpqc2a$2gch$1 at sf1.isc.org>,
 "Plantier, Spencer" <spencer.plantier at stratech.com> 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.

Use the "ls" command in nslookup to perform a zone transfer.

nslookup
>server ns1.domain.com
>ls -d domain.com

However, I recommend instead that you use "dig" with the AXFR type:

dig domain.com axfr @ns1.domain.com

because the output format is more like what you would have in a zone 
file.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list