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
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.
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.
Yes, add a line like: xfer = 192.168.0.100 in the [zone] section of the template. Thanks for the note. We will add it to the install guide that it has to be changed.
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.
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?
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.
Ok. Then there is currently no way to define a additional default dns server for the reseller in ispconfig. We have this on our todo list.