en un clic
dns-management
Manage AdGuard Home DNS filtering, blocklists, local DNS records, and query log analysis.
Menu
Manage AdGuard Home DNS filtering, blocklists, local DNS records, and query log analysis.
Write Prometheus alerting rules and configure Alertmanager routing for home lab notifications.
Write and run Ansible playbooks for multi-node home lab provisioning and configuration management.
Configure and manage restic backups including scheduling, verification, and disaster recovery.
Let's Encrypt, self-signed certs, renewal automation, NPM cert integration
Full Pi disaster recovery -- backup verification, restore workflows, SD card imaging, and migration checklists
Manage multi-file Docker Compose deployments on a Raspberry Pi home lab server.
| name | dns-management |
| description | Manage AdGuard Home DNS filtering, blocklists, local DNS records, and query log analysis. |
| tools | ["homelab_adguardStats","homelab_adguardFilters","homelab_adguardQueryLog"] |
| standards-version | 1.10.0 |
Configure and manage AdGuard Home on a Raspberry Pi home lab. Covers DNS filtering, blocklist management, local DNS rewrites, upstream DNS configuration, and query log analysis for troubleshooting.
homelab_sshTest)Optional:
HOMELAB_ADGUARD_USER/HOMELAB_ADGUARD_PASSWORD)homelab_sshTest.homelab_serviceHealth for the AdGuard container.homelab_adguardStats to get query counts, blocked counts, top blocked domains, and top clientshomelab_adguardFilters to see all configured blocklists and their statushomelab_adguardQueryLog with the domain or client IP as the search filterservice.home.lab pointing to the Pi's IPAdGuard Home service:
http://pi:3000 (or custom port)http://localhost:PORT/control/File locations:
/opt/homelab/docker/network/
adguard/
confdir/AdGuardHome.yaml # Main config file
workdir/ # Query log database
Common API endpoints:
GET /control/stats -- DNS statisticsGET /control/filtering/status -- filter listsGET /control/querylog?search=DOMAIN&limit=N -- query log searchPOST /control/filtering/add_url -- add a blocklistPOST /control/rewrite/add -- add a DNS rewriteGET /control/dns_info -- upstream DNS configPopular blocklists:
https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txthttps://raw.githubusercontent.com/StevenBlack/hosts/master/hostshttps://big.oisd.nl/User: "Why can't I access example.com? Is AdGuard blocking it?"
Assistant actions:
homelab_adguardQueryLog with search: "example.com"Response:
example.com was blocked 12 times in the last hour by the "Steven Black hosts" filter list. To unblock it, add an exception rule in AdGuard's custom filtering rules:
@@||example.com^
User: "Show me my DNS stats for today"
Assistant actions:
homelab_adguardStats| Tool | Purpose |
|---|---|
homelab_sshTest | Validate connectivity before operations |
homelab_adguardStats | Get DNS query statistics and top blocked domains |
homelab_adguardFilters | List and manage filter/blocklists |
homelab_adguardQueryLog | Search DNS queries for troubleshooting |
homelab_serviceHealth | Check AdGuard container health |
homelab_serviceLogs | Debug AdGuard startup or config issues |
homelab_serviceRestart | Restart AdGuard after config changes |
systemctl disable --now systemd-resolved.ipconfig /flushdns on Windows, sudo dscacheutil -flushcache
on macOS).HOMELAB_ADGUARD_PORT
accordingly.