The PowerDNS connector script connects directly to the MySQL backend and allows management of zones in PowerDNS. Native mode and Master/Slave 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:
Create working directory and connector script config:
and set the correct ownership.
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:
1<GenericDNSScript value="python /your/script/directory/genericDNS.py" />
Download the script from genericDNSPowerDNS.py.
systemd/init script of the controller. Open with an editor, e.g. vi the
mmremote init script, which should be
Search for the line
Add to the begin of the parameter list your created controller working directory with the -d parameter, .i.e.
1PARAMS="-d /var/mmsuite/dns_server_controller ...rest of the params"