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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glen KnightCommented:


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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.