Migrating DNS zones. Questions on dnscmd
Posted on 2013-06-04
We decided to move DNS from our Internet registrar to Windows 2008 R2 servers on premises. I exported all the zones in Bind format. Basically text files with all the records. I need to get them into Windows. I have just been renamed the file and giving it a .dns extention, copying it into c:\windows\system32\dns and then creating the zone using the DNS manager and pointing it to the file. Seems to work just fine. I wanted to try using DNSCMD to import it into Windows DNS. Questions are can I import all the records for each zone at one time and if so, what is the command to do it? I can only get it to create the SOA record but none of the A records. For a zone file like domainname.com.txt, what would be command be?