Link to home
Start Free TrialLog in
Avatar of DelaneyLoi
DelaneyLoi

asked on

Windows 2000 server how to manually import a DNS Zone

Hi,

I'm trying to manually import a DNS zone from a w2k primary dns server to a secondary dns server.  I cannot perform "transfer zone" or "reload from master" on the secondary dns server because it will overwrite existing DNS entries with duplicate dns names.  How can I export the dns zone from the primary then manually import it to the secondary?  These two servers will not replicate ever again once the manually export/import is done as the goal is for secondary dns to recognize dns hosts that primary knows about.

thanks,

dl

Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


I'm not quite sure I follow you here...

A Secondary Zone is an Exact copy of the Primary. So how does your Secondary have records that would be overwritten by the Primary? The Secondary zone is read-only so cannot have entries that are not present on the Primary.

That said, zones are easy enough to copy. First you have to ensure that it's a Standard Primary Zone and not AD Integrated (AD isn't mentioned, but just in case). Then go to %SystemRoot%\System32\dns\ and the zone files are stored as .dns files there (plain text files).

I take it that you want to combine whatever is running on your "Secondary" server with the contents of the Primary zone file? You can remove the NS and SOA records which will be the most likely to throw up problems, but you will have to check through the rest to see if it's okay to just copy them across.

Chris
Avatar of DelaneyLoi
DelaneyLoi

ASKER

Chris,

thanks for the information.  To clarify, the primary and secondary don't replicate with each other and it is by design. they are residing in 2 different physical location, primary at corporate office and secondary at datacenter but under the same domain name (ak.com).  because of our network topology, we have dns names with two different IP in which corporate access it through the same DNS name but with this IP and remote offices access the same DNS name with another IP. Anyways, to make a long story short, we now need to establish a trusted AD relationship between corporate and datacenter domains and the secondary dns server (located in datacenter) will need to contains all DNS hosts in the primary dns (in coporate).  However, we need to do this manually on the secondary because a regular "zone transfer" or "reload from master" will simply replicate everything from the primary.  I hope this helps and thanks in advance for anything advice you can provide.

DL
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Chris,

I apologize for the lack of response.  Thanks for your answer and it is an excellent solution to my question.

Thanks,

DL

No problem, glad I could help :)

Chris