Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 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
2 days 10 hours ago
2 days 19 hours ago
2 days 21 hours ago
2 days 23 hours ago
3 days 33 min ago
3 days 2 hours ago
3 days 3 hours ago
3 days 4 hours ago
3 days 20 hours ago
3 days 21 hours ago