Migrating DNS zones. Questions on dnscmd

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?
shadowtuckAsked:
Who is Participating?
 
Sarang TinguriaConnect With a Mentor Sr EngineerCommented:
0
 
shadowtuckAuthor Commented:
Doesn't explain how to import using DNSCMD. Just says copy the files to the directory and restart DNS.

I have some BIND .txt files and I want to use DNSCMD to create a zone and import the records from the file into Windows.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.