Solved

DNS server replica

Posted on 2013-01-15
5
265 Views
Last Modified: 2013-01-24
WE are running Bind as our DNS server and we need to setup a replica serverr remotely. How can I do it?
Do I need to rsync the zone manually through cron? Or is there a daemon I can use to check serial number and if there is any change, it will do the transfer. Thanks in advance
0
Comment
Question by:mokkan
  • 3
  • 2
5 Comments
 
LVL 39

Expert Comment

by:noci
ID: 38781309
//Create slave zones on the replica server.
zone "blabla.com" {
   type slave;
   masters { master-ip; };
...
};

//Enable transfers from the masterzones.
zone "blabla.com" {
    type master;
    allow-transfer { slave-ip; };
.....
};

and allow tcp/53 on the firewall to the master.
0
 

Author Comment

by:mokkan
ID: 38798298
How does it sync the data? Automatically or do I need to do anything?
0
 
LVL 39

Accepted Solution

by:
noci earned 500 total points
ID: 38798941
If you update the serial number in the SOA record, (on the master obviously) the master sends a update tribber to it's known slaves.
The slaves can then initiate a transfer. Same happens when a zone is reloaded, the slave gets the serial number from the server, and decides if it want to load.

Besides that the SOA record is checked every n seconds (also in the SOA) and then checks the serials.
0
 

Author Comment

by:mokkan
ID: 38815665
Thank you
0
 

Author Closing Comment

by:mokkan
ID: 38815666
Thanks a lot
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now