Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, March 26, 2015 9:57 AM
We have a standalone Windows Server 2012 with DNS role. It supports a score of DNS zones with specific settings. In general, all those settings are documented and, if something happens, can be restored manually. However, it'd be a long and boring process. The question is, is there a way to export those settings and import them back again in case of a disaster?
Zone files can be simply copied to a safe location and then restored back. All settings of the server can be exported into a text file with DNSCMD /EXPORTSETTINGS command. However, I can't see a way to import back those exported settings. At least, there is nothing similar to DNSCMD /IMPORTSETTINGS. Do I miss something here?
Evgeniy Lotosh
MCSE: Server infractructire, MCSE: Messaging
All replies (1)
Friday, March 27, 2015 9:37 AM âś…Answered | 3 votes
Registry Editor can back up and restore the settings of DNS server .
Stop DNS service and open Registry Editor ,find two folders :
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DNS
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server
Export the two folders and save the file .
When you want to restore the settings ,just stop DNS service and run the two files .