Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5. Using dnscmd > Working with DNS Partitions

Working with DNS Partitions

You might want to replicate data only between specific domain controllers. You can do this by creating directory partitions and having DNS servers enlist the partitions.

DNS Partition CommandsComments
Create a DNS application partition.
/createdirectorypartition
dnscmd server /createdirectorypartition
partitionFQDN
c:\>dnscmd dc1 /createdirectorypartition
pcgpartition.pearson.pub

Data in the partition is replicated as part of Active Directory replication, and any severs that are configured with the partition.

Tip

A primary purpose of creating a directory partition is to control replication between a specific group of domain controllers (DC).

Figure 5-3 shows how the created partition can be picked and how an ADI DNS zone can be configured to replicate with the partition.
List directory partitions.
/enumdirectorypartitions
dnscmd server /enumdirectorypartitions
c:\>dnscmd dc1 /enumdirectorypartitions

This lists directory partitions for the specified server. By default, there are two partitions: DomainDnsZones and ForestDnsZones. This command also lists any partitions created with the /createdirectorypartition command.
Add a partition to a DNS server.
/enlistdirectorypartition
dnscmd server /enlistdirectorypartition
FQDNofPartition
c:\>dnscmd dc1 /enlistdirectorypartition
pcgpartition.pearson.pub

Adds a DNS server to the replication set of the specified partition.

Note

This command is not needed on the DNS server where the directory partition was created.

Remove a directory partition.
/deletedirectorypartition
dnscmd server /deletedirectorypartition
FQDNofPartition
c:\>dnscmd dc1 /deletedirectorypartition
pcgpartition.pearson.pub

Deletes an existing DNS application directory partition from the specified DNS server. If this is the last server where it exists, the partition is permanently deleted.



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint