Microsoft KB Archive/280061

= How to move Windows 2000 DNS zones to another Windows 2000-based server =

Article ID: 280061

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q280061



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

IN THIS TASK
SUMMARY
 * Move Zone Files

REFERENCES



SUMMARY
This article describes how to move the zone files from one DNS server that is running Windows 2000 to another DNS server that is running Windows 2000.

back to the top

Move Zone Files
To move zone files from one server to another, follow these steps:

Note To use the following method, the Windows 2000 DNS Server service must be installed on a new Windows 2000-based server. The DNS Server service should not be configured yet.  On the DNS server that is currently hosting the DNS zone(s), change any Active Directory-integrated zones to standard primary. This action creates the zone files that are needed for the destination DNS server. Stop the DNS Server service on both DNS servers. Manually copy the entire contents (subfolders included) of the %SystemRoot%\System32\DNS folder from the source server to the destination server. On the current DNS server, start Registry Editor (Regedit.exe). Locate and click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DNS\Zones Export the Zones entry to a registry file. Locate and click the following registry subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones</li> Export the Zones entry to a registry file.</li> On the destination DNS server, double-click each registry file to import the Zonessubkeys into the registry.</li> Bring the current DNS server down and transfer its IP address to the destination DNS server.</li> On the destination DNS server, start the DNS Server service. To initiate the registration of the server's A and PTR resource records, run the following command at a command prompt:

ipconfig /registerdns

</li> If this server is also a domain controller, stop and restart the Net Logon service to register the Service (SRV) records, or run the following command at a command prompt:

netdiag /fix

</li> The standard zones that were previously Active Directory-integrated can be converted back to Active Directory-integrated on the replacement DNS server if it is a domain controller.</li> Verify that the SOA resource records on each zone contains the correct name for the primary server and that the NS resource records for the zone(s) are correct.</li></ol>

Note The steps outlined in this article do not migrate the following DNS server settings:
 * Interfaces
 * Forwarders
 * Advanced
 * Root Hints
 * Logging
 * Security
 * Any specific registry setting made under any keys other than the key that is specified in step 5 and step 7

back to the top

<div class="references_section">