Web Hosting Talk







View Full Version : Dns Migration


carlosamador
11-16-2004, 03:59 AM
I am upgrading one dns server from win 2000 to 2003 and also changing the physical server, the new one is going to keep the same ip that the old one, my question is how can i backup and restore the dns registries?

thanks

andy18
11-16-2004, 04:55 AM
you may copy all the dns configuration files for your domain from the old server C:\WINDOWS\system32\dns

u may need some scripting to readd the dns entry back to the registry by looping through the C:\WINDOWS\system32\dns .

MatthewN
11-16-2004, 04:58 AM
Also if you copy the DNS files in from that folder you will either need to reboot or stop and start the DNS service.

carlosamador
11-16-2004, 11:48 AM
HI already copy te dns configuration from C:\WINDOWS\system32\dns, i have rebooted my server started and stoped the dns services and nothing, any ideas?

andy18
11-16-2004, 11:58 AM
you will need to readd the domains zone entry back to the registry. Copying the dns zone files will not have the zones shows up in the DNS console and registry. You will need some scripting to help you if you have large volumes of zones to readd back to the server.

carlosamador
11-16-2004, 12:07 PM
could be dnscmd?

Rituparna
11-19-2004, 10:03 AM
Hi,

It's simple and following is the step by step instructions, you need to follow.

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.
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 Zonessubkeys 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 is a domain controller.
14. 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.

Hope this helps. :)

Thanks!
Douglas
----------
Have Fun at work

carlosamador
11-19-2004, 11:31 AM
It did

Thanks a lot