Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Verify DNS server responsiveness using the nslookup command

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

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

Community Additions

© 2015 Microsoft