Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
454 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 71

Accepted Solution

by:
Chris Dent earned 750 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

877 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