Configuring PowerDNS

The PowerDNS connector script connects directly to the MySQL backend and allows management of zones in PowerDNS. Native mode and Primary/Secondary mode in the authoritative PowerDNS are currently supported.

The installation works as described above. On Linux use the --generic-dns-controller parameter when executing the installer.

It will then install the base Generic DNS Server Controller, but there are two things you want to tweak:

  1. Create working directory and connector script config:

mkdir /var/mmsuite/dns_server_controller

and set the correct ownership.

  1. Create a file preferences.cfg in the mmsuite directory and configure the connector script with a XML-tag as described in Generic DNS Server Controller.

E.g. on Linux:

<GenericDNSScript value="python /your/script/directory/genericDNSPowerDNS.py" />

Download the script from GitHub.

  1. Edit the systemd/init script of the controller. Open with an editor, e.g. vi the mmremote init script, which should be /etc/init.d/mmremote.

  2. Search for the line PARAMS="....".

  3. Add to the begin of the parameter list your created controller working directory with the -d parameter, .i.e.:

PARAMS="-d /var/mmsuite/dns_server_controller  ...rest of the params"