Solved

DNS server replica

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

837 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