Configuring PowerDNS
The PowerDNS connector script connects directly to the MySQL backend, enabling zone management in PowerDNS. Native mode and Primary/Secondary mode are supported in the authoritative PowerDNS.
On Linux, include the --generic-dns-controller parameter when running the installer.
This will install the Generic DNS Agent, but you’ll need to make a couple of adjustments:
Create a working directory and a configuration for the connector script:
mkdir /var/mmsuite/dns_server_controllerSet the correct ownership for this directory.
In the
mmsuitedirectory, create apreferences.cfgfile and configure the connector script using an XML-tag as described in the instructions for Generic DNS Agent.
For example, on Linux add the following line to
preferences.cfg:<GenericDNSScript value="python /your/script/directory/genericDNSPowerDNS.py" />Download the script from GitHub.
Modify the
systemd/initscript for the agent. Using an editor, such as vi, open themmremoteinit script located at/etc/init.d/mmremote.Search for the line containing
PARAMS="....".At the beginning of the parameter list, add your created agent working directory with the
-dparameter:
PARAMS="-d /var/mmsuite/dns_server_controller ...rest of the params"