Solved

How do I import an exported text file from a DNS Zone in AD to a separate DNS Zone in AD?

Posted on 2008-06-12
2
440 Views
Last Modified: 2013-12-05
Me again. Still plugging away. Here is the scenario: I want to start with a fresh version of the DNS server on a 2003 DC that will soon become one of two 2003 DC's that will replace the 2000 DC's. I do not want to install the DNS server on the new within the AD domain until I have uninstalled the DNS server on the old 2000 server because it doesn't work like it should. I do, however, want to import the entries for the domain from the old server. I have looked up the http://support.microsoft.com/?kbid=280061 that deals with the resgistry, but I got stuck on the part where it says "copy the zone to a registry file". The only option I saw to do was copy the whole registry. I exported the DNS Zones to a txt file, however, and I was wondering if there was a way I could just use the text file somehow and import it into the fresh new DNS server?
0
Comment
Question by:numb3rs1x
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 71

Accepted Solution

by:
Chris Dent earned 250 total points
ID: 21776941

> I do not want to install the DNS server on the new within the AD domain
> until I have uninstalled the DNS server on the old 2000 server because it
> doesn't work like it should. I do, however, want to import the entries for
> the domain from the old server

There's no practical difference between the two. You'd be deleting a the contents of a zone only to add the contents of the zone back in.

I had a read through the previous question so I know the basis for this request, just not entirely clear what you're looking to keep from the old zone?

How many zones are we dealing with? If it's just one there's little point in exporting registry entries. You can create a zone using the old file with a few commands (using DNSCMD, part of the Windows Support Tools):

DNSCMD /ZoneAdd yourdomain.local /Primary /File yourdomain.local.dns /load

In the above command FileName.dns must reside in %SystemRoot%\System32\DNS\. The /load command tells it to load the contents of the original file rather than overwriting or starting a new one.

Then it needs converting to AD Integrated. If you have Windows 2003 DCs only this command would be best:

DNSCMD /ZoneResetType yourdomain.local /DsPrimary /Overwrite_Ds /DirectoryPartition DomainDNSZones.yourdomain.local

Chris
0
 

Author Comment

by:numb3rs1x
ID: 21780390
I guess I'm under the impression that if I were to install DNS on the new 2003 server while DNS is running on the old 2000 server that the new DNS will import the installation from the old DNS. What I'm trying to avoid is having the new DNS import anything that might be the cause of the old DNS malfunctioning. Do you know what exactly gets imported in this process? I would much rather just have the new import from the old automatically, but I can't have it import a broken DNS. Thanks.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

734 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