Friday, July 3, 2015

NSLookup

To lookup DNS records for a domain name on Windows, you can use NSLookup.
Open a command prompt, and enter the following command:  nslookup
This will give you the server that you will query and the IP address of that server.
Type the command: set q=any
This is short for set querytype=any, which will give all results, regardless of type.
Enter the domain name to query.  EG: anonit.net


This will then give the results.  If you fail to get the expected results, you can try using a trailing full stop at the end of the domain name, eg: anonit.net.
Additionally you can query other name servers, by using the server command.  Eg: server 8.8.8.8 will set google as the DNS server to query.




Reference:
https://support.microsoft.com/en-us/kb/200525
https://technet.microsoft.com/en-us/library/bb490738.aspx

No comments:

Post a Comment