• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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