• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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