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_controller
Set the correct ownership for this directory.
In the
mmsuite
directory, create apreferences.cfg
file 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/init
script for the agent. Using an editor, such as vi, open themmremote
init 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
-d
parameter:
PARAMS="-d /var/mmsuite/dns_server_controller ...rest of the params"