?
Solved

DNS server replica

Posted on 2013-01-15
5
Medium Priority
?
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

777 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