DNS Backup And Restore
This appendix provides guidance for the stand-alone migration of the Domain NameSystem (DNS) Server role from an x86-based or x64-based server runningWindows Server 2003, Windows Server 2008, or WindowsServer 2008 R2 to a new Windows Server 2008 R2 server
Please following Below Step for DNS Backup And Restore.
DNS Backup
Stopthe DNS Server service on the source server by running the following command:
net stop “DNS Server“
Run the reg command to export the following registrykeys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters
reg export HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DNS\Parameters %Windir%\System32\DNS\Dns-Service.REG
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT
\CurrentVersion\DNS Server
reg export “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNSServer” %Windir%\System32\DNS\Dns-Software.REG
Onthe source server, copy all the files and subfolders under%windir%\System32\DNS (except the Samples folder) to a network location or aUniversal Serial Bus (USB)
Afterfollowing this command And Start DNS Services.
net start”DNS Server”
Your DNS Backup is Complete.
DNS Restore
Stopthe DNS Server service on the source server by running the
following command:
net stop “DNS Server”
After You will get DNS folder on following Original Destination.
%windir%\System32\DNS
Now Right Click on Dns-Service.REGand Dns-Software.REG AndMerge it.
Afterfollowing this command And Start DNS Services.
net start “DNS Sever”
Enjoy ! Your DNS Restore Successfully.