Verify DNS Registration and TCP/IP Connectivity

Applies To: Windows Server 2008, Windows Server 2008 R2

You can use the Dcdiag command-line tests in this procedure to verify that a server can successfully connect to domain controllers in the same site or in the enterprise and to verify that Domain Name System (DNS) is functioning. By default, all Dcdiag tests verify TCP/IP connectivity for both IP version 4 (IPv4) and IP version 6 (IPv6).


Dcdiag is installed with Active Directory Domain Services (AD DS) by default. To perform this test on a server that is not a domain controller, you must install Dcdiag. For information about installing Dcdiag, see Installing Remote Server Administration Tools for AD DS.

Membership in Domain Admins, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (

To verify DNS registration and TCP/IP connectivity

  1. Open a Command Prompt as an administrator: On the Start menu, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, provide Domain Admins credentials, and then click OK.

  2. At the command prompt, type the following command, and then press ENTER:

    dcdiag /test:dns


For a more detailed response from this command, add /v to the end of the command.

If the test fails, do not attempt any additional steps until you determine and fix the problem that prevents proper DNS functionality.