PowerDNS: "service pdns reload" fails because of guardian=no
After installing and configuring pdns-4.0.3-r2 the following command fails:
service pdns reload
This is because in “/etc/init.d/pdns” the option “guardian=no” is hardcoded and the “service pdns reload” command uses the “cycle” command of “pdns_control”. The documentation of PowerDNS states:
QUOTE “cycle : Restart the nameserver so it reloads its configuration. Only works when the server is running in guardian mode”
(from redmine: issue id 7885, created on 2017-09-23, closed on 2019-01-23)
- Changesets:
- Revision cdca14c5 by Chris Ely on 2019-01-16T20:06:42Z:
community/pdns: use guardian mode
This fixes the reload command which relies on the guardian
to cycle the running instance.
fixes #7885