README 1.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

Author: Florian Schaal, schaal @it

ISPConfig version: 3.1.3

This addon adds dns-slave-zones on additional servers after creating a dns-zone
If you managed multiple servers with ISPConfig but did not use the mirror-function,
you can i.e. use server 1 for bind and server 2 as a bind-slave. This plugin
manages the slave-zones on server 2 when you create / change / delete the
dns-zone on server 1.

Installation
--------------------

Download the addon to your server and run the install.sh script to install it.


Usage
--------------------

Adjust the following settings in /usr/local/ispconfig/interface/lib/plugins/dns_dns_slave_auto_plugin.inc.php

1.
//* define your dns-ip(s) that the slave-server should accept the data from (same as NS (IP-address) in Secondary DNS Zones)
$this->nameservers[] = '192.168.0.1';
$this->nameservers[] = 'fe80::2';

If your master-server has only one IP, remove one one the lines.

2.
//* define the server_ids for slave-server(s) (see server_id in dbispconfig.server on the master)
$this->dns_slave_server_id[] = 2;

If you want to run bind-slave on several servers, use more settings. I.e.
$this->dns_slave_server_id[] = 2;
$this->dns_slave_server_id[] = 12;
$this->dns_slave_server_id[] = 18;