Monday, May 23, 2016

How to use NSLOOKUP

  • Nslookup to know your default DNS server and IP address

Just type nslookup in you command prompt and you will get your default DNS server and its IP address:

  • Nslookup for any web servers IP address

Let’s say I want to know the IP address of Microsoft’s web servers. So just nslookup microsoft.com in you command prompt and you will get the DNS server name and its IP address:
nslookup webservers

In the above screen, you can see that there is a term called Non-authoritative answer. This answer is shown when the reply comes from a source which is not considered authoritative for the domain which it’s returning a record for.
For example, in the above query, the response is coming from my default DNS server which would come as non-authoritative because it is not listed in the list of nameservers for microsoft.com.

No comments:

Post a Comment