13.6. Converting a Zone to an Active Directory-Integrated Zone
You want to convert a primary zone to an Active Directory-integrated zone. This causes the contents of the zone to be stored and replicated in Active Directory instead of in a text file, as is the case with a standard primary zone.
Using a graphical user interface
From the Administrative Tools, open the DNS snap-in (dnsmgmt.msc).
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.
If you want to convert a forward zone, expand the Forward Lookup Zone folder. If you want to convert a reverse zone, expand the Reverse Lookup Zone folder.
Click on the zone you want to convert, then right-click it, and select Properties.
Beside Type, click the Change button.
Check the box beside Store the zone in Active Directory.
Click OK and click OK again.
Using a command-line interface
Use the following command to convert a standard primary zone to Active Directory-integrated:
> dnscmd dns02 /zoneresettype myzone.com /DsPrimary
' This code converts a zone to AD-integrated. ' ------ SCRIPT CONFIGURATION ------ strZone = "
<ZoneName>" ' e.g., rallencorp.com strServer = "
<ServerName>" ' e.g., dc1.rallencorp.com ' ------ END CONFIGURATION --------- set objDNS = GetObject("winMgmts:\\" & strServer & "\root\MicrosoftDNS") ...