• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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