13.7. Moving Active Directory-Integrated Zones into an Application Partition

Tip

This recipe requires the Windows Server 2003 domain functional level.

Problem

You want to move an Active Directory-integrated zone into an application partition to reduce unnecessary replication traffic to domain controllers that are not DNS Servers.

Solution

Using a graphical user interface

  1. From the Administrative Tools, open the DNS snap-in (dnsmgmt.msc).

  2. Connect to the DNS Server you want to modify. In the left pane, right-click on DNS and select Connect to DNS Server. Select The following computer and enter the target server name. Click OK.

  3. Expand the server in the left pane and expand either Forward Lookup Zones or Reverse Lookup Zones depending on the type of zone.

  4. Click on the name of the zone.

  5. Right-click on the zone and select Properties.

  6. Click on the Change button beside Replication.

  7. Select the application partition where you want to move the zone.

  8. Click OK and click OK again.

Using a command-line interface

The following command moves a zone to the default application partition that replicates to all domain controllers that are DNS Servers in the domain:

> dnscmd <ServerName> /zonechangedirectorypartition <ZoneName> /domain

The following command moves a zone into the application partition that replicates to all domain controllers in a forest that are DNS Servers:

> dnscmd <ServerName> /zonechangedirectorypartition <ZoneName> /forest

Using VBScript

At the time of publication of this book, the DNS WMI Provider ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.