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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WriteBack Attribute permission on domain level 13 80
WebSite Direction 1 54
Need Script to resolve IPs to Public DNS Names 5 32
Replication problems 6 20
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Know what services you can and cannot, should and should not combine on your server.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

792 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