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
July 16th, 2009 on 8:34 am
Thank you for that! I was looking for ages on how to do an import. The MSDN docs didn’t seem to mention the /load argument so was always overwriting the dns file!
Thanks