Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > ISPConfig 3 Priority Support

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2013, 16:57
futrix futrix is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Default Multiserver setup - DNS question

Hello!

I am building following configuration:

HOST A:
web
ftp
db
dns
ispconfig-web

HOST B:
mail
dns

I have installed all the packages + ISPConfig. I can create sites, mailboxes, etc. Everything seems to work fine but the question is how to make DNS zones replicate from HOST A to HOST B? DNS-Template get replicated but zones are not.

Regards,
Krzysztof
Reply With Quote
The Following User Says Thank You to futrix For This Useful Post:
riggaicscew (7th June 2013)
Sponsored Links
  #2  
Old 6th June 2013, 17:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

The server services layou you've choosen is a bit problematic as mirroring works for all services configured of a server. So when you choose to mirror the system, then web, db and dns gets mirrored from server a to server b and you loose the ability to create mail records. So mirroring is most liekly not a option when you dont want to reinstall everything and choose a different services layout.

The only option that remains is to not use automatic mirroring and use bind replication instead. This means that you have to create a primary zone record for the first server and a secondary zone record for the second server and let bind do the replication of the zone content.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th June 2013, 17:37
futrix futrix is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I see. So is there a way to add "Allow zone transfers to these IPs (comma separated list)" field in DNS Template or make it default otherways?

EDIT: One more thing: in default Debian 7.0 install, the /etc/bind/slave directory is not group writable which prevents creating zone files. After chmod transferred zone files appear correctly.

Last edited by futrix; 6th June 2013 at 17:47.
Reply With Quote
The Following User Says Thank You to futrix For This Useful Post:
riggaicscew (7th June 2013)
  #4  
Old 6th June 2013, 18:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

Quote:
I see. So is there a way to add "Allow zone transfers to these IPs (comma separated list)" field in DNS Template or make it default otherways?
Yes, add a line like:

xfer = 192.168.0.100

in the [zone] section of the template.

Quote:
EDIT: One more thing: in default Debian 7.0 install, the /etc/bind/slave directory is not group writable which prevents creating zone files. After chmod transferred zone files appear correctly.
Thanks for the note. We will add it to the install guide that it has to be changed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th June 2013, 19:09
futrix futrix is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Thank you. That works. I couldn't find that info in PDF.
Reply With Quote
  #6  
Old 10th June 2013, 13:25
futrix futrix is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Default

One more thing about DNS. How can reseller create a Secondary Zone on other than default NS server? While creating zone as reseller there is no way to choose server.
Reply With Quote
  #7  
Old 10th June 2013, 14:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

The reselelr can create zones only on his default server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 10th June 2013, 15:16
futrix futrix is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Is there a way to change this? Or the other approach: is there a way to automate creation of secondary zone on second server when I add primary zone on the first one?
Reply With Quote
  #9  
Old 10th June 2013, 15:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

If both dns servers use ispconfig, then you should configure them as ispconfig mirrors. In that case ispconfig will take care for the mirroring and you dont have to create secondary recpord at all.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 10th June 2013, 15:34
futrix futrix is offline
Junior Member
 
Join Date: Jun 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

They are both ISPConfig, but secondary runs different set of services, and it cannot be mirrored.
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
MultiServer Setup abintipl Installation/Configuration 0 29th November 2011 16:40
Multiserver Setup Debian - Jobqueue not working / DNS MaddinXx HOWTO-Related Questions 1 22nd October 2011 22:03
Traditional DNS easy question dayknight HOWTO-Related Questions 3 22nd May 2008 13:21
Can't setup DNS server correctly? fvonpinho HOWTO-Related Questions 3 19th July 2007 16:04
Slave DNS question arcadlemon Server Operation 1 9th November 2006 18:04


All times are GMT +2. The time now is 17:44.


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