大网数据广告活动
网络与域名解析

How to move Windows DNS zones to another Windows server

· 52CE 我爱测

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.

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.

Original KB number:   280061

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.

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

  2. Stop the DNS Server service on both DNS servers.

  3. Manually copy the entire contents (subfolders included) of the %SystemRoot%\System32\DNS folder from the source server to the destination server.

    [!IMPORTANT] This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
    322756 How to back up and restore the registry in Windows

  4. On the current DNS server, start Registry Editor (Regedit.exe).

  5. Locate and click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DNS\Zones

  6. Export the Zones entry to a registry file.

  7. Locate and click the following registry subkey:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones

  8. Export the Zones entry to a registry file.

  9. On the destination DNS server, double-click each registry file to import the Zones subkeys into the registry.

  10. Bring the current DNS server down and transfer its IP address to the destination DNS server.

  11. 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
    
  12. 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
    
  13. The standard zones that were previously Active Directory-integrated can be converted back to Active Directory-integrated on the replacement DNS server if it's a domain controller.

  14. Verify that the SOA resource records on each zone contain the correct name for the primary server and that the NS resource records for the zone(s) are correct.

Note: The steps outlined in this article don't 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

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。