18
0
Fork 0

Plus d'information sur les statistiques

This commit is contained in:
jdubois 2020-02-12 12:33:04 +01:00
parent fb82c326e0
commit 4f5fcb0b73
1 changed files with 10 additions and 0 deletions

View File

@ -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
~~~