Verify DNS server responsiveness with Nslookup
Updated: March 2, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
You can use this procedure to verify name resolution on a Domain Name System (DNS) server for monitoring or troubleshooting purposes.
Verifying DNS server responsiveness
To verify DNS server responsiveness
Open a command prompt, type the following command, and then press ENTER:
nslookup 127.0.0.1 server_ip_address
If the server is responding, the name "localhost" is returned.
The Internet Protocol (IP) address of the DNS server. For example, if the IP address of your DNS server is 10.0.0.1, type:
nslookup 127.0.0.1 10.0.0.1
Note In the previous procedure, the syntax for the nslookup command is: nslookup[-option] host server . This command can be entered from any computer that is running a Microsoft Windows operating system and has network connectivity to the DNS server you wish to query. Only the host entry is required for the command. However, if an IP address or hostname for the server is not supplied, then the default DNS server specified in TCP/IP properties will be queried. When you enter 127.0.0.1 as the host, this IP address will automatically resolve to the name localhost if the DNS Server service is running at the IP address that you specify as the server.