Importing .DNS files onto a fresh install of DNS

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...
YellowbusTeamAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Glen KnightConnect With a Mentor Commented:


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
 
YellowbusTeamAuthor Commented:
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
 
Glen KnightCommented:
Try dnscmd syntax help here: http://technet.microsoft.com/en-us/library/cc756116(WS.10).aspx

it's part of the support tools
0
 
Chris DentPowerShell DeveloperCommented:

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

Chris
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.