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
436 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Company website 6 44
domain and forest trust 1 31
Exchange Cross-Forest Migation 6 31
SSIS Paramater on start 2 21
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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