Unbound: output statistics daily instead of just on shutdown
authorPeter Müller <peter.mueller@link38.eu>
Sat, 27 Oct 2018 13:44:02 +0000 (15:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Nov 2018 10:31:09 +0000 (10:31 +0000)
commit2e0660f9ce59433831d619dad546e3d31bc22612
treea0d86c52956aa169afe006d5cbfbcc7ebc8af1bb
parentc22498887d13776a694d25f6aa465c4e0eb47cee
Unbound: output statistics daily instead of just on shutdown

Currently, Unbound only prints statistics if it is being shutdown
(mostly because of a machine reboot). This makes detecting DNS
anomalies hard as no intermediate statistic result is being logged.

This patch changes Unbound's behaviour in order to log statistics
every 86,400 seconds (i.e. 24 hours).

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/unbound/unbound.conf