Hosts file on mirrors is changed wrong
short description
Since some versions 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", the last taken action in function "update". 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".
correct behaviour
The hosts file should be untouched in this case. The auto config of network settings is not activated.
environment
Server OS: debian
Server OS version: 8.10
ISPConfig version: 3.1.8p1
references
https://www.howtoforge.com/community/threads/hosts-file-on-mirrors-is-changed-by-ispconfig.78012/