Posts: 31,883
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
The current version does not repliacte the settings, it just manages different dns servers. It is planned to have a mirrot option in the next relaese. Until then you can either point the mydns of the slave server directly to the master database or you use mysql replication without having ispconfig installed on the slave or you do a little modification in the ispconfig code that I described here for a mail setup:
Basically you edit the file /usr/local/ispconfig/lib/classes/modules.inc.php on the slave server and change the line:
Code:
$sql = "SELECT * FROM sys_datalog WHERE datalog_id > ".$conf['last_datalog_id']." AND (server_id = ".$conf["server_id"]." OR server_id = 0) ORDER BY datalog_id";
to
Code:
$sql = "SELECT * FROM sys_datalog WHERE datalog_id > ".$conf['last_datalog_id']." AND (server_id = 1 OR server_id = 0) ORDER BY datalog_id";
So the slave will now replicate every new or updated dns entry from the server with ID 1 (the master server) which is all you need for the replicated dns setup.
Recent comments
7 hours 17 sec ago
11 hours 59 min ago
13 hours 25 min ago
14 hours 18 min ago
16 hours 1 min ago
20 hours 24 min ago
21 hours 16 min ago
23 hours 30 min ago
1 day 12 hours ago
1 day 14 hours ago