• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Input Slave DNS Manager - Add new option -clean

B4c4rd1

Regular Pleskian
Since the bind version bind> = 9.10.0 the new option "rndc delzone -clean [ZONE]" is supported. This also deletes all related files.

When is the option added?

This makes it possible to make the same zone available on another server. (If deleted before)

Manual:
If the -clean is specified, the zone's master file (and journal
file, if any) will be deleted along with the zone. Without the
-clean option, zone files must be cleaned up by hand. (If the zone
is of type "slave" or "stub", the files needing to be cleaned up
will be reported in the output of the rndc delzone command.)
 
Last edited:
Anyone who needs the option can customize the DNS slave manager:

In the file: /opt/psa/admin/plib/modules/slave-dns-manager/library/Rndc.php

Line: 63

Old:
PHP:
$this->_call($slave, "delzone \"{$domain}\" \"{$slave->getRndcClass()}\" \"{$slave->getRndcView()}\"");

New:
PHP:
$this->_call($slave, "delzone -clean \"{$domain}\" \"{$slave->getRndcClass()}\" \"{$slave->getRndcView()}\"");
 
Back
Top