Nslookup examples
If you submit a query for a non-existent host name you will receive the following
response:
C:\>nslookup thisdoesnotexist.coatbank.com Server: dc1.coatbank.com Address: 192.168.0.100 *** dc1.coatbank.com can't find thisdoesnotexist.coatbank.com: Non-existent domain
If you want to troubleshoot a DNS server other than the one specified for the primary
connection on the local client computer, you can specify the DNS server using the Nslookup command, eg: the following command executed at the command prompt queries the DNS server at 207.46.138.20 for the name www.microsoft.com:
C:\>nslookup www.microsoft.com 207.46.138.20
You can also use Nslookup to resolve IP addresses to host names, eg: the command below returns the FQDN associated with IP address 207.46.249.222:
C:\>nslookup 207.46.249.222 Server: localhost Address: 127.0.0.1 Name: www.microsoft.com Address: 207.46.249.222
Next: Nslookup Syntax
DF9R 35:: Network Infrastructure 1: Implementation and Management (c) 2009 SQA