rndc reload ignores changes to "querylog"
rndc reload ignores changes to "querylog":
The "querylog" statement in "options" appears not to get updated after BIND received an "rndc reload" command.
The "rndc querylog" does however change the logging of queries.
Configurations that define the "queries" logging category have "query logging" enabled and are not affected
There may be cause to update the ARM to describe this behaviour.
-
Start BIND with no "querylog" statement in "options":
rndc status
query logging is OFF (queries are not logged) -
Change "querylog yes;" in "options":
rndc reload
rndc status
query logging is OFF (queries are not logged) * -
Start BIND with "querylog no;" in "options":
rndc reload
rndc status
query logging is OFF (queries are not logged) -
Change "querylog yes;" defined in "options":
rndc reload
rndc status
query logging is NO (queries are not logged) * -
Start BIND with "querylog yes;" defined in "options:"
rndc reload
rndc status
query logging is ON (queries are logged to syslog) -
Change "querylog no;" in "options":
rndc reload
rndc status
query logging is ON (queries are logged to syslog) *