Solved

Importing .DNS files onto a fresh install of DNS

Posted on 2009-07-04
4
157 Views
Last Modified: 2013-12-05
Hi,
We have a DNS server that we have just has to rebuild to recover. We have a backup of all of the .DNS files.

Is there an easy way of re-importing them as the DNS server is blank at present. No zones etc...
0
Comment
Question by:YellowbusTeam
  • 2
4 Comments
 
LVL 74

Accepted Solution

by:
Glen Knight earned 500 total points
ID: 24777463


Copy the DNS zone file (*.dns) to %SystemRoot%\system32\DNS folder

Create a new primary zone by using the wizard, right and select new Zone.  Uncheck the Store the zone in Active Directory.  Then at the appropriate dialog, check the box "Use this existing file" and specify the file name as above.
0
 

Author Comment

by:YellowbusTeam
ID: 24777474
its not a DC
its a web server acting as a DNS server also.

We are looking for a way for it to recreate the zones from the .dns files as we have hundres of domains and dont want to have to create each zone seperatly :o(
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 24777506
Try dnscmd syntax help here: http://technet.microsoft.com/en-us/library/cc756116(WS.10).aspx

it's part of the support tools
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 24785953

Still need this? A spot of scripting could have that done rather quickly from the files.

Chris
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Know what services you can and cannot, should and should not combine on your server.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now