
21st March 2009, 22:20
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
DNS auto-create zones on all DNS servers
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).
And again, just so I'm clear - one of the main requirements is that we can create new zones on the "master" / "primary" server, and these zones get automatically created on the "slave" / "secondary" server(s). Hope that makes sense.
Thanks in advance,
Assi.
|

22nd March 2009, 15:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Yes, zone transfers are built into BIND. Take a look here: http://www.howtoforge.com/traditional_dns_howto
|

23rd March 2009, 07:06
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
What about new domains?
Falko,
Thanks for that.
However, I'm still uncertain about what happens with new domains. Specifically, our requirement is that we can create new domains on the "master" name server, and have these domains automatically created on all "secondary" domains.
From what I've seen, the standard methods with BIND only deal with existing domains which you pre-configure on both the primary and the secondary name servers, then have zone transfers take care of ongoing synchronization.
The reason we need this, is due to the fact that we create several new domain zones on daily basis, and we would like to keep the administration as simple as possible.
Thanks again,
Assi.
|

24th March 2009, 17:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
In that case I suggest you use a MySQL-based DNS server (MyDNS or PowerDNS) and set up database replication from the master to the slave.
|

25th March 2009, 08:43
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Falko. I'll give it a shot.
|

30th March 2009, 15:35
|
|
HowtoForge Supporter
|
|
Join Date: Apr 2007
Location: Helsinki
Posts: 374
Thanks: 24
Thanked 36 Times in 24 Posts
|
|
I have been thinking about something similar.
What do you think would be the best way to go about building a scenario where you have X Number of (MyDNS?) 'master' name servers that are automatically replicated with 'ns1.server.com' which in turn gets it's slave zones from Z Number of different ISPConfig3 servers that are 'mainly' operated by the ReSales people?
This way the Clients on the ISPConfig3 server's could have total control of their zones while ns1 would be the primary node where all the rest of the name servers would get their data.
Is this possible?
|

31st March 2009, 16:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
If I understand you right, this is possible.
|

31st March 2009, 18:32
|
|
HowtoForge Supporter
|
|
Join Date: Apr 2007
Location: Helsinki
Posts: 374
Thanks: 24
Thanked 36 Times in 24 Posts
|
|
Life is beatifull. 
I'm going to build me a system like that this week.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 05:11.
|
|
Recent comments
23 hours 24 min ago
1 day 6 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 20 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 14 hours ago
2 days 14 hours ago