Issue with (re)setup of slave servers!

Hi

Here is the situation. I have a main webhosting server also my main DNS. I have 2 slave light servers runnig only Webmin and bind on it and they are slave servers. I have setup previously auto-update of slave servers for DNS zones using that tutorial from virtualmin: https://www.virtualmin.com/slave-configuration/ and it was working fine.
As some of you have perhaps heard the main server got destroyed in a datacenter fire. I have restaured it on an other server at different ISP but now my zones don’t transfer anymore with slaves. At first I thought my slaves had still the old master IP and so were refusing transfer from a non legimit server for them !
As I couldn’t find out how to fix the problem, I basically stopped bind on both slaves and deleted whole /etc/bind config directory (both machines are running Ubuntu) and then restarted bind from webmin that suggested to build initial config and then the problem became worse. I discovered on both machines that after accepting to download latest root files and start bind that it doesn’t start anymore by Webmin. If I go in Bootup and shutdown and select the named service it starts and shutdowns but in Bind Server tab of Virtualmin it still indicates as stopped…
I then declared these two slaves as clusters in main bind server. Then It creates well all zones on each slave but zones files on slaves are keeping empty ! I guess that if it creates all zones files it’s not a basic problem of rights on folder/files but why it doesn’t transfer content of zone ?

Log when I start the bind process:

bind9.service - BIND Domain Name Server
   Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-07-25 17:39:22 UTC; 6s ago
     Docs: man:named(8)
  Process: 8551 ExecStop=/usr/sbin/rndc stop (code=exited, status=1/FAILURE)
 Main PID: 8554 (named)
    Tasks: 5 (limit: 2285)
   CGroup: /system.slice/bind9.service
           └─8554 /usr/sbin/named -f -u bind

Jul 25 17:39:27 ns1-ams named[8554]: client @0x7faf7c0c72d0 51.158.190.109#39482: received notify for zone 'xxxxx.ch'
Jul 25 17:39:27 ns1-ams named[8554]: zone xxxx.ch/IN: refused notify from non-master: 51.158.190.109#39482
Jul 25 17:39:27 ns1-ams named[8554]: client @0x7faf7c0c72d0 51.158.190.109#39482: received notify for zone 'xxxx.ru'
Jul 25 17:39:27 ns1-ams named[8554]: zone xxx.ru/IN: refused notify from non-master: 51.158.190.109#39482
Jul 25 17:39:27 ns1-ams named[8554]: client @0x7faf7c0c72d0 51.158.190.109#39482: received notify for zone 'xxx.com'
Jul 25 17:39:27 ns1-ams named[8554]: zone xxxx.com/IN: refused notify from non-master: 51.158.190.109#39482
Jul 25 17:39:27 ns1-ams named[8554]: client @0x7faf7c0c72d0 51.158.190.109#39482: received notify for zone 'xxx.fr'
Jul 25 17:39:27 ns1-ams named[8554]: zone xxx.fr/IN: refused notify from non-master: 51.158.190.109#39482
Jul 25 17:39:27 ns1-ams named[8554]: client @0x7faf7c0c72d0 51.158.190.109#39482: received notify for zone 'xxx.fr'
Jul 25 17:39:27 ns1-ams named[8554]: zone xxx.fr/IN: refused notify from non-master: 51.158.190.109#39482

All domain names masquered are domains it should be able to resolve but as zones files keep being empty it doesn’t resolve :frowning:
Any ideas what’s the problem ?

SYSTEM INFORMATION
OS type and version: Ubuntu 18 and 20
Webmin version: 1.979 on all servers
Virtualmin version: 6.16 Pro
Related products version: Bind 9

Thanks

Vincèn

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.