Export

Export the zone Domain.Local. using dnscmd.

dnscmd will automatically export the file to system32\dns\”filename.dns”

Usage: DnsCmd <ServerName> /ZoneExport <ZoneName> <ZoneExportFile>

Example: dnscmd /zoneexport Domain.Local Domain.dns

 

Import

Copy the exported DNS Zone file to system32\dns\ folder.

Usage: DnsCmd <ServerName> /ZoneAdd <ZoneName> <ZoneType> [<Options>]……

Example: dnscmd /zoneadd NewDomain.com/primary /file “filename.dns” /load