Open Sylvain303 opened 8 years ago
as noted on IRC, pdns_control reload
will not actually reload the config, but will tell the backends to reload. For the BIND backend, this means checking and possibly reloading its zones, the luabackend will reload its lua script and the gSQL backends do nothing.
I think the suggestion to alias reload to restart is a good one, as that will do what the user expects (load the new configuration). I would like to have config check beforehand, but that doesn't exist yet.
+1 for config check. but not related to the ticket. ;)
Is this still an issue in our own 4.x packaging?
+1 for config check & reload
under debian jessie:
packages, from debian repository
Running from command line:
produces
But debian jessie has a
reload
(in/etc/init.d/pdns
):producing
Discovered by salting powerdns, this is failing on debian jessie with default provider
systemd
:As mentioned: pdns-server only supports
reload
for a small fraction of the config file. So for the moment arestart
seems a good solution for managed config file.So, may be a solution could be to map
reload
torestart
.Or simply do the equivalent of
pdns_control reload
.To be discussed.