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.
Thread Tools Display Modes
Old 23rd March 2012, 16:01
giuseppe1 giuseppe1 is offline
Junior Member
Join Date: Mar 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Bind zones bidirectional sync

Hello to all,
thank you for precious help with your website, it helped many times, but this time i have a need i can't find a solution for.
Having two webserver mixed ispconfig and cpanel environment, i want to cut dns costs, because i should need at least an ispconfig mirrored dns secondary server (the one i want to shutdown) and a cpanel dns-only server in addiction to the cpanel whm: this way i have to keep up and running 4 machines.

I need this for automations.

What i want to do is to replicate ispconfig master zones on the cpanel bind config as masters as well (or at least as slave: the goal is to get 2 machines answering as authoritatives as required from for dns related needs) and, viceversa, replicate cpanel master zones on the ispconfig bind config so each machine acts as a mirror of the other.
I'm pretty sure i'm not the one who need this solution.
The one i found so far is based on a shell script and scp, but i do not really like it because relies too much on the config file format (it greps strings). What i was wondering was a bind-managed sync possibly using dnssec.
I'm not concerned about conceptual master-slave rules unless it engages network floods, so any working solution is welcome.
unfortunately the two binds are slightly different in config because the cpanel one uses different config files (that's why i want bind to manage transactions).

It is one of the solutions i found in a complex automatic provisioning and costs-cutting project.
Any help? any wizardry?
i don't really want to use a proprietary solution, as cpanel dns only as it can be used only with their products.

thank guys, sorry for lengthness of my message

Last edited by giuseppe1; 23rd March 2012 at 16:13.
Reply With Quote
Sponsored Links
Old 23rd March 2012, 16:16
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

ISPConfig supports the normal bind sync functions beside the isconfig to ispconfig mirroring features. In the ispconfig zone settings you can define which external IP addresses can copy zone data by using the bind zone transfers from the ispconfig server and ispconfig can also act as slave dns server in the same way. So as long as the other server is a bind based system as well, you can use the normal sync features build into bind with ispconfig.

The preferred setup is to use the ispconfig internal syncing features as described here though as you dont have to care about creating secondary zones then:

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
giuseppe.urso1@gmail.com (23rd March 2012)
Old 23rd March 2012, 16:23
giuseppe1 giuseppe1 is offline
Junior Member
Join Date: Mar 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default get automatic

Hello!, thanks for your enlighting answer.
Do you think it is sufficient to alter the default zone template adding the "allow zone transfer" and "also-notify" values (obviously using as value the other server ip address) so it can be used for each new zone created?

i need to edit this myself: no, it is not possible, because the ispconfig zone template cannot contain allow zone transfer and also notify because those values reside on the named.conf.local, instead the dns zone template of ispconfig regards the zonefile itself.
so, i'm stuck here...

any help appreciated.
Thank you!

Last edited by giuseppe1; 23rd March 2012 at 17:02. Reason: mistake in dns config
Reply With Quote


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
Permission Denied Bind Slave Server Problems wxman Server Operation 17 22nd March 2014 13:30
Can somebody help me getting Bind to work on Centos 5? treeman Server Operation 12 29th August 2009 09:15
Problem on restart bind9 satimis Server Operation 6 30th October 2007 03:01
ISPConfig and BIND on Debian sarge (rfc1912 : failed on zonecheck) arnaud Installation/Configuration 13 6th March 2007 13:40
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 15:50

All times are GMT +2. The time now is 06:57.

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