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
431 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
2 Comments
 
LVL 70

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

22 Experts available now in Live!

Get 1:1 Help Now