How to return all NS records for a domain

September 24, 2008

Today I found out about a handy feature of nslookup.exe which lets you return a list of all zones associated with a given domain name.

You begin by starting nslookup


Then specify the authoritive name server for the domain you are querying:

> server

Next, issue this command:

ls -d

This will return all zone records associated with the domain, which can be very useful when you are changing ISP or colo host.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: