Share via


Remove a DNS Server from a DNS Application Directory Partition

Applies To: Windows Server 2008

You can perform this procedure when you no longer want the Domain Name System (DNS) server to participate in replication of the zone that is hosted in a DNS application directory partition. You cannot remove a DNS server from the DomainDnsZones or ForestDnsZones application directory partitions.

To perform this procedure, you must be a member of the DnsAdmins or the Domain Admins group in Active Directory Domain Services (AD DS), or you must have been delegated the appropriate authority. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).

To remove a DNS server from a DNS application directory partition

  1. Open a command prompt.

  2. Type the following command, and then press ENTER:

    dnscmd <ServerName> /UnenlistDirectoryPartition <FQDN> 
    
Parameter Description

dnscmd

Specifies the name of the command-line tool for managing DNS servers.

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

/UnenlistDirectoryPartition

Required. Removes a DNS server from a DNS application directory partition.

<FQDN>

Required. Specifies the fully qualified domain name (FQDN) of the DNS application directory partition from which you are removing the DNS server that is specified by ServerName.

To view the complete syntax for this command, at a command prompt, type the following command, and then press ENTER:

dnscmd /UnenlistDirectoryPartition /?

Additional considerations

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

Additional references