共用方式為


Enlist a DNS server in a DNS application directory partition

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

To enlist a DNS server in a DNS application directory partition

  1. Open Command Prompt.

  2. Type:

    dnscmdServerName**/EnlistDirectoryPartition**FQDN

Value Description

dnscmd

Specifies the name of the command-line program.

ServerName

Required. Specifies the DNS host name of the DNS server. You can also type the IP address of the DNS server. To specify the DNS server on the local computer, you can also type a period (.).

/EnlistDirectoryPartition

Required. Enlists a DNS server in a DNS application directory partition.

FQDN

Required. Specifies the fully qualified domain name (FQDN) of the DNS application directory partition.

Notes

  • To perform this procedure, you must be a member of the DnsAdmins or the Domain Admins group in Active Directory, or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • This procedure requires the Dnscmd Windows support tool. For information about installing Windows support tools, see Related Topics.

  • To view the complete syntax for this command, at a command prompt, type:

    dnscmd /EnlistDirectoryPartition /?

  • For more information about creating and deleting an application directory partition, see Related Topics.

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

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

Concepts

DNS zone replication in Active Directory
Create the default DNS application directory partitions
Remove a DNS server from a DNS application directory partition
Change zone replication scope
Install Windows Support Tools
Create or delete an application directory partition
Add or remove an application directory partition replica
Security information for DNS