Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NSLOOKUP

Status
Not open for further replies.

lardum

IS-IT--Management
Joined
Apr 26, 2000
Messages
462
Location
SE
HOw do i use NSLOOKUP to return all A records from a specific domain and a specific nameserver?

Is it:
nslookup
>set type=a
>server %NAMESERVERIP%
>domain-name to query

I don't get any A records from my nameserver when i query it like this. Anyone have any ideas?
 
You can use the following:

nslookup
>server <nameserver>
>ls -d <domainname>

This way you can get all the record for that domain, but your IP must to be authorized in the DNS server for it.
 
What does this response mean?

*** Can't list domain ourdomain.com: Query refused
 
This reply means that your IP in not authorized to list the domain and get all the records. It´s the usual configuration.
If you have administrative permissions try to do in the server and it will work ok. If you want to do in your workstation authorize it´s IP in your DNS server to list domains.
If you don´t have administration permissions you can´t do anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top