• 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 - Zones don't get removed?

Chris1

Regular Pleskian
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