Export (0) Print
Expand All

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

  1. Open a command prompt, type the following command, and then press ENTER:

    nslookup server_ip_address

  2. If the server is responding, the name "localhost" is returned.


    Value Description


    The Internet Protocol (IP) address of the DNS server. For example, if the IP address of your DNS server is, type:


    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 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft