feat(unbound): add prometheus exporter, dashboard, fix socket buffer sysctl

This commit is contained in:
Clément Désiles
2026-09-06 23:44:05 +02:00
parent 304a3fae12
commit ed5d0c68f1
11 changed files with 290 additions and 3 deletions
@@ -0,0 +1,4 @@
# Managed by Ansible - DO NOT EDIT MANUALLY
# Empty cert flags (-unbound.ca= etc.) make the exporter speak plain-text to
# unbound's control interface (control-use-cert: no).
{{ unbound_exporter_args_var }}="-web.listen-address={{ unbound_exporter_listen_address }} -unbound.ca= -unbound.cert= -unbound.key= -unbound.host tcp://127.0.0.1:8953"
+13
View File
@@ -130,5 +130,18 @@ server:
# Enable DNSSEC
auto-trust-anchor-file: "{{ unbound_anchor_root_key }}"
# Statistics for monitoring (unbound-control stats / prometheus exporter)
statistics-interval: 0
statistics-cumulative: yes
extended-statistics: yes
# Remote control for unbound-control and the prometheus exporter.
# control-use-cert: no — unbound only accepts plain control connections from
# loopback in this mode, so no TLS certs need to be generated.
remote-control:
control-enable: yes
control-interface: 127.0.0.1
control-use-cert: no
include: "{{ unbound_custom_lan_config_path }}"
include: "{{ unbound_custom_vpn_config_path }}"