From 4f5fcb0b730d62dd82b19aee0cdf3e824e662bae Mon Sep 17 00:00:00 2001 From: jdubois Date: Wed, 12 Feb 2020 12:33:04 +0100 Subject: [PATCH] Plus d'information sur les statistiques --- HowtoUnbound.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/HowtoUnbound.md b/HowtoUnbound.md index 6e8eedf4..b0602257 100644 --- a/HowtoUnbound.md +++ b/HowtoUnbound.md @@ -93,6 +93,15 @@ On active Unbound dans `rc.conf.local` et on démarre le daemon : On peut accéder à des statistiques avec [unbound-control(8)](https://man.openbsd.org/unbound-control). +Pour cela, le `remote-control` doit être activé : + +~~~ +remote-control: + control-enable: yes + control-use-cert: no + control-interface: /var/run/unbound.sock +~~~ + Sous Debian : ~~~ @@ -108,6 +117,7 @@ $ doas -u _unbound unbound-control stats Si l'on veut avoir des statistiques plus détaillées, avec notamment le type de requêtes, on peut ajouter à la configuration : ~~~ +statistics-interval: 300 extended-statistics: yes ~~~