Hosts file on mirrors is changed by ISPConfig

Discussion in 'Installation/Configuration' started by SimonGilli, Dec 18, 2017.

  1. SimonGilli

    SimonGilli New Member

    Hi all!

    Since some version a got a strange behaviour on DNS mirrors:

    The master entry in hosts file is changed to the mirror and the mirror is not longer able to reach the master.

    The causing script is network_settings_plugin.inc.php function update the last taken action. Deleting the link to this file solves the problem.

    Here is one mirrors hosts file:
    127.0.0.1 localhost
    ...
    10.71.1.10 bones.ncc-1701.enterprise.core.gilbertsoft.net bones
    ...
    10.71.0.10 neo.matrix.core.gilbertsoft.net neo
    ...

    Where bones is a DNS mirror of neo. After running the mentioned script the entry of the master "neo" is changed to "bones".

    What's going wrong here? Why does the script change the hosts file? For me this change makes only sence if the hosts is replicated from the master to the mirrors, but that's not the case! By the way, network config is not enabled in ISPConfig, all systems are Debian 8.

    Best regards
    Simon
     

Share This Page