LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-20-2009, 01:13 PM   #1
assi
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
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 in advance,
Assi.
 
Old 03-20-2009, 02:30 PM   #2
omes
Member
 
Registered: Jan 2003
Distribution: debian, FreeBSD
Posts: 120

Rep: Reputation: 15
I would LOVE to help you with this, but right now I have to run. Late for a pool meeting

BIND has this ability, and it's called master/slave records.
This page about DNS Configuration Types might help. Will do a follow up when I get home
 
Old 03-21-2009, 02:03 AM   #3
assi
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
What about new domains?

Omes,

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.

Thanks again,
Assi.
 
Old 03-21-2009, 10:58 AM   #4
omes
Member
 
Registered: Jan 2003
Distribution: debian, FreeBSD
Posts: 120

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set DNS servers? How to stop auto change of DNS servers? newtovanilla Linux - Newbie 1 10-29-2008 09:19 PM
ntp not synchronizing with internet servers apachenew Debian 9 08-22-2007 09:54 AM
Mirror DNS Zones/named (4 different servers/locations) ftw Linux - Networking 5 03-15-2006 07:41 AM
Synchronizing Users Across Multiple Servers ghight Linux - Networking 4 08-22-2003 09:35 AM
Software for synchronizing files on web servers josephswagner Linux - Software 2 02-06-2003 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration