Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st March 2009, 22:20
assi assi is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2009, 15:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Yes, zone transfers are built into BIND. Take a look here: http://www.howtoforge.com/traditional_dns_howto
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd March 2009, 07:06
assi assi is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #4  
Old 24th March 2009, 17:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th March 2009, 08:43
assi assi is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Falko. I'll give it a shot.
Reply With Quote
  #6  
Old 30th March 2009, 15:35
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
Red face

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?
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
  #7  
Old 31st March 2009, 16:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

If I understand you right, this is possible.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 31st March 2009, 18:32
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
 
Default

Life is beatifull.
I'm going to build me a system like that this week.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 DNS servers to create high avialability - yes I know this was asked before... yurtboy1 Server Operation 1 26th January 2009 13:12
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 00:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.