Synchronizing DNS Servers - automatically create new zones
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Synchronizing DNS Servers - automatically create new zones
Hi,
I'm kinda new to Linux, so please excuse the "newbie" type question.
We have a scenario where we need to set up two or more DNS servers that will synchronize DNS changes amongst themselves automatically.
Specifically, we have a need to create new DNS zones (domains) on one of the DNS servers, and have the new zones automatically created on the other servers. Obviously, we will need the zones to keep in-sync through regular zone transfers.
I've been able to achieve this in the past using cPanel's DNS Cluster functionality, but was wondering if there is a non-proprietary solution that does this (e.g. built into BIND).
Thanks for the link. I read through the details, but one thing that is not clear to me is how new domains get treated.
All the examples shown (as far as I could see) showed existing zones configuration on both the master and the slave.
In my scenario, I would like to create a new domain on the master server, and have that domain automatically created on the slave server, and then have the zones updates automatically thereafter.
The reason for this requirement is that we have several new domains created on daily basis. I'm looking for the easiest method of maintaining the DNS configuration.
Aha. Now I see what you mean. You're going to add so many domains you want the addition to named.conf to be automatic for the slaves? That's actually quite easy to do with a script, but if you don't want to create one yourself, you can look at the cluster function in webmin. they have a perlscript you can use even if you don't want to install webmin. Some modification might be needed however if you do not wish to run webmin in order to use the script. If you get lost just post a message in this thread and ill help if i can
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.