• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Slave DNS Manager - Still tries to sync zones that are switched off in Plesk

Chris1

Regular Pleskian
Hello,

I have recently started using the slave DNS manager in the Plesk extension library. I've found that even for DNS zones that are switched off in Plesk, failed sync/transfers still try to take place between the slave and master. Why is this so?

Shouldn't turning the DNS functionality off in Plesk remove the zone from the slave DNS server?

When a domains DNS functionality is turned off, it removed the zone info from the master, but no command is issued to remove it from the slave??

Domain that is trying to sync/transfer: example.com
Plesk/Master server: 111.11.11.111
Slave DNS: 222.222.22.222

Code:
May  6 08:51:39 ns2 named[1178]: zone example.com/IN: refresh: unexpected rcode (REFUSED) from master 111.11.11.111#53 (source 0.0.0.0#0)
May  6 08:51:39 ns2 named[1178]: zone example.com/IN: Transfer started.
May  6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: connected using 222.222.22.222#53166
May  6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: resetting
May  6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: connected using 222.222.22.222#35948
May  6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: failed while receiving responses: REFUSED
May  6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.055 secs (0 bytes/sec)
 
Last edited:
It seems that DNS zones are not being deleted off the slave DNS server if a domain is deleted or if DNS is disabled for a domain.

I tested this by setting up the domain example.com and deleting it. The DNS zone for this domain is still on the slave DNS server.

Is there a directive I need to set in /etc/named.conf to allow the deletion of zones by the slave DNS manager?
 
I ran another test by setting up the domain example2.com and then removed it from the Plesk panel whilst watching /var/log/messages and I got the following:

May 9 09:53:53 ns2 named[1178]: received control channel command 'delzone example2.com'
May 9 09:53:53 ns2 named[1178]: zone example2.com removed via delzone

It appears it has removed the config for example2.com from /var/named/3bf305731dd26307.nzf but hasn't actually removed the zone file. Why isn't it removing the actual zone file?

/var/named/example2 still exists.
 
Back
Top