Expert guide for deploying, configuring, and maintaining the Unbound DNS Dashboard using Grafana, Prometheus, and Loki. Covers installation, exporter setup, log aggregation, and troubleshooting.
This skill provides expert knowledge for setting up a comprehensive dashboard for Unbound DNS using the Prometheus + Grafana + Loki stack. It is based on the ar51an/unbound-dashboard repository.
unbound-exporter to collect metrics.Download & Install (ARM64 example):
wget https://dl.grafana.com/oss/release/grafana_11.1.0_arm64.deb
sudo apt install musl
sudo dpkg -i grafana_11.1.0_arm64.deb
Configuration:
http://<IP>:3000 (Default: admin/admin).grafana.ini is available in the release for reduced memory footprint.Service Management:
sudo systemctl daemon-reload
sudo systemctl enable grafana-server
sudo systemctl start grafana-server
Install:
sudo apt install prometheus
Configuration (prometheus.yml):
unbound-exporter.node-exporter if not needed to save resources.5m.Clean up:
prometheus-node-exporter if not used.The exporter collects statistics from Unbound. Binary available in releases.
Unbound Config (/etc/unbound/unbound.conf):