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

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...
0
YellowbusTeam
Asked:
YellowbusTeam
  • 2
1 Solution
 
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
 
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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