HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   ISPConfig 3 Priority Support (http://www.howtoforge.com/forums/forumdisplay.php?f=35)
-   -   Multiserver setup - DNS question (http://www.howtoforge.com/forums/showthread.php?t=62114)

futrix 6th June 2013 15:57

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

till 6th June 2013 16:13

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.

futrix 6th June 2013 16:37

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.

till 6th June 2013 17:51

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.

futrix 6th June 2013 18:09

Thank you. That works. I couldn't find that info in PDF.

futrix 10th June 2013 12:25

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.

till 10th June 2013 13:44

The reselelr can create zones only on his default server.

futrix 10th June 2013 14:16

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?

till 10th June 2013 14:30

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.

futrix 10th June 2013 14:34

They are both ISPConfig, but secondary runs different set of services, and it cannot be mirrored.


All times are GMT +2. The time now is 11:48.

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