• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

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?
1 Solution
Sarang TinguriaSr EngineerCommented:
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.
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.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now