Restore db file on windows dns
=====================

Restore dns on windows dns erver from zone file

C:\Windows\System32\dns>dnscmd.exe /ZoneAdd domain.com /Primary /File domain.com.dns /Load
DNS Server . created zone domain.com:

Command completed successfully.

Export zone file details to a txt file.

C:\Windows\System32\dns>dnscmd.exe localhost /ZoneExport domain.net domain.net.txt

DNS Server localhost exported zone
domain.net to file %windir%\system32\dns\domain.net.txt on the DNS server
Command completed successfully.