Solved

DNS server replica

Posted on 2013-01-15
5
286 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 40

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 40

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

823 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