Поделиться через


Verify an Application Directory Partition

Applies To: Windows Server 2008

After you create a Domain Name System (DNS) application directory partition to store a zone and enlist others DNS servers that host the zone in the application directory partition, verify that the zone is replicating as expected.

You can use this procedure to verify an application directory partition using the dnscmd command-line tool.

Membership in DnsAdmins or 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 (https://go.microsoft.com/fwlink/?LinkId=83477).

To verify an application directory partition

  1. Open a command prompt. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

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

    dnscmd  /EnumDirectoryPartitions 
    

    If the command runs successfully, it displays all the directory partitions in which the server is enlisted.

  3. If the previous command was successful, type the following command, and then press ENTER:

    dnscmd <ServerName> /DirectoryPartitionInfo <FQDN>
    

    If the command runs successfully, it displays information about the specified application directory partition.

Value

dnscmd

The command-line tool for managing DNS servers.

<ServerName>

<FQDN>

/EnumDirectoryPartitions

/DirectoryPartitionInfo

To view the complete syntax for these commands, at a command prompt, type either of the following commands, and then press ENTER:

dnscmd /EnumDirectoryPartitions /?
dnscmd /DirectoryPartitionInfo /?

Additional references