
Migrating the Windows DNS Service
Steps to "move" a DNS service from one Windows server to another.
1 min read
To “move” a DNS service from one Windows server to another (e.g. from Windows Server 2003 to 2012), perform the following steps.
- Install the DNS service on the target server.
- Configure the DNS service on the target server (forwarders, etc.).
- Export the following registry key on the source server:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones - Stop the DNS service on the source and target servers.
- Copy the DNS files from the source server (directory
<C:\Windows\system32\dns\>) to the target server. - Import the registry key exported in step 3 on the target server.
- Start the DNS service.
- The zones should show up in the DNS MMC after 20-30 seconds.
Note: after the migration, you may have to “inform” all devices that the DNS zones now live on a different server. (Especially critical for public DNS servers!)