Automatically adds and removes slave DNS zones in ClouDNS when domains are created or deleted in Plesk.
- What it does
- What it does not
- Requirements
- Installation
- Basic troubleshooting
- Debugging
- Credits
- License
- Creates a slave zone in ClouDNS for every new domain/alias created in Plesk.
- Deletes the corresponding ClouDNS slave zone when the domain/alias is removed.
- Configure Plesk’s DNS templates or ClouDNS nameservers.
- Offer a graphical interface - requires manual editing of the
ClouDNS.phpfile.
- Plesk Obsidian 18.0.69+.
- SSH access as root (or via
sudo). - PHP CLI with the
curlextension. - ClouDNS API user credentials (
auth-id&password).
- Create an API user in ClouDNS (obtain
auth-id&password). - Copy
ClouDNS.phpto/usr/local/psa/admin/plib/registry/EventListener/. - Edit
ClouDNS.php, set yourauthid,authkey, and (optionally)masterip. - (Optional) Set
$debug = truefor verbose logging. - Done - enjoy automatic zone syncing!
- Ensure your ClouDNS API user has both IPv4 & IPv6 allowed.
- In Plesk’s DNS Settings (Tools & Settings → General Settings → DNS Settings → Transfer Restrictions Template), allow transfers to all your nameservers.
- In
ClouDNS.php, change$debug = false;to$debug = true;. tail -f /var/log/plesk/panel.logwhile creating/deleting a domain in Plesk.
- Forked from Nick Andriopoulos’ original plesk-cloudns.
- Updated by Greg Sevastos for compatibility with Plesk 18.0.69+.
This project is licensed under the GNU Lesser General Public License v3.0.