* [PATCH] Unbound: output statistics daily instead of just on shutdown
@ 2018-10-27 13:44 Peter Müller
0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2018-10-27 13:44 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 814 bytes --]
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(a)link38.eu>
---
config/unbound/unbound.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/unbound/unbound.conf b/config/unbound/unbound.conf
index cda591dab..2cc5bab8a 100644
--- a/config/unbound/unbound.conf
+++ b/config/unbound/unbound.conf
@@ -28,7 +28,7 @@ server:
log-queries: no
# Unbound Statistics
- statistics-interval: 0
+ statistics-interval: 86400
statistics-cumulative: yes
extended-statistics: yes
--
2.16.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-27 13:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-27 13:44 [PATCH] Unbound: output statistics daily instead of just on shutdown Peter Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox