Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS 1

Status
Not open for further replies.

Yarka

Technical User
Jan 14, 2007
192
ES
Hi,
I want to make a replica of the DNS server(it has so many primary zones as secondary) in another server. How can I do this?

Thanks.
 
You will need to give more details on your setup..

Are you running 1 DNS server at the moment?

What do you mean by "it has so many primary zones as secondary"?

If you only have 1 DNS server at the moment then you want to setup a second server. On the second server create secondary zones for each of the domains you want to copy to your second server. Make sure the Primary server allows zone transfers to the IP address of the second server. If there is a firewall between the 2 DNS server ensure that they can comunicate with each other on port 53 TCP and UDP.



 
I want to say that DNS server has primary and secondary zones. I need an exact replica current DNS server, not a secondary DNS server. That is to say; If current DNS server has:
x.domain1 - > primary
y.domain2 - > secondary
My new DNS server must also have it,i.e:
x.domain1 - > primary
y.domain2 - > secondary

How can I do this?
Thanks.
 
There is a couple ways of doing it, you could setup your new server with all the zones as secondary zones to start off with and copy the data over this way then once the zones have been copied change them to primary zones as needed.

The other way we be to copy the zone files manually from one server to the other.

Will the new server be taking a different IP address from the current server or will it be taking the current servers IP address?

Also what DNS server are you using Windows DNS Server or BIND?



 
The new server be taking a different IP address from the current server.
I am using Windows DNS Server.
Then, if I only copy the zones files manually to my new server, how can I load this files in my new server DNS? and what files are specifically.


 
Its been a while since i've done this but if i remember correctly what i did last time was to create each of the zones on the new server but not add any information to them, stop the DNS server and copy the zone files from the old server to the new server overwriting any files that are there, then restarted the DNS server.

Another way is to copy the files over and then create a boot file for the server.

The DNS files are located in C:\Windows\System32\dns

There is a sample of a BOOT file if in the samples folder there is you wish to create a BOOT file for the server.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top