A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.



NSLOOKUP IS command line utility that is used for DNS queries and to lookup DNS Zone records i.e. to lookup IP address of a domain or reverse . 

If you are looking more details what is nslookup? Check the nslookup page on wikipedia.

Here are 10 widely used commands used to look up DNS zone records:


1. How to find the A record of а domain?

Command line:
$ nslookup

2. How to check the NS records of a domain?

Command line:
$nslookup -type=ns


3. How to query the SOA record of a domain?

Command line:
$nslookup -type=soa


4. How to find the MX records responsible for the email exchange?

Command line:
$ nslookup -query=mx


5. How to find all of the available DNS records of a domain?

Command line:
$ nslookup -type=any


6. How to check a DNS record using of a specific DNS Server?

Command line:
$ nslookup


7. How to find the Reverse DNS Lookup (i.e. to resolve DNS record for an IP address) ?

Command line:
$ nslookup


8. How to change the DNS Server port number for the connection with DNS Server?

Command line:
$ nslookup -port=56

** if DNS server is listing on alternative port

9.How to set the timeout interval for a reply for DNS lookup query?

Command line:

$ nslookup -timeout=10


10. How to enable debug mode for DNS lookup query?

Debug mode provides important and detailed information both for the question and for the received answer.

Command line:
$ nslookup -debug




Authoritative answer – This is the answer that originates from the DNS Server which has the information about the zone file.
Non-autoritative answer – When a nameserver is not in the list for the domain you did a lookup on.
DNS Default port – By default, the DNS servers use port 53.


Comments are closed.