• 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.

Second DNS with PowerDNS

freaky@

Regular Pleskian
In case it helps anyone, for the second DNS server we use PowerDNS. I use this _basic_ script to add the entries to the PowerDNS MySQL database. I assume you can figure out how to configure PowerDNS and MySQL on the other server yourself. It should be connectable from plesk.

Within plesk I use event manager to run it. Like so:

Domain alias created lowest (0) nobody /usr/local/scripts/addSecondDNS.php domaliascreate
Domain alias deleted lowest (0) nobody /usr/local/scripts/addSecondDNS.php domaliasdelete
Domain alias updated lowest (0) nobody /usr/local/scripts/addSecondDNS.php domaliasupdate
Domain created lowest (0) nobody /usr/local/scripts/addSecondDNS.php domcreate
Domain deleted lowest (0) nobody /usr/local/scripts/addSecondDNS.php domdelete
Domain updated lowest (0) nobody /usr/local/scripts/addSecondDNS.php domupdate
 

Attachments

  • addSecondDNS.php.txt
    5.8 KB · Views: 123
Forgot to mention the somewhat obvious: configure plesk to allow DNS zone transfers from the PowerDNS server.
 
Back
Top