Files
vps/runbooks/adguard-home-health.md
T
windyboy b03d7019c4 docs: onboard AdGuard Home to Ansible; retire check-mx2; migrate plan to Linear
- Add dns.windy.lan to Ansible inventory (adguardhome group/profile) with a
  read-only healthcheck template, systemd timer, and on-demand report parity
  with the other active hosts; verified green on the host.
- Add synapse.chans.xyz to the AGENTS.md active-host quick map.
- Remove plans/; migrate decisions/verification to a Linear vps project doc and
  file the remaining gaps as W1N-46..49 with blocking edges.
- Retire scripts/check-mx2.sh; point mailcow health/update runbooks and the
  mx2 host file at the Ansible health report.
- Trim us2 stub software to verified running services; note dormant dirs.
- Normalize repo docs to English; drop the non-existent CONTEXT.md/ADR claim
  and remove docs/agents/domain.md.
2026-08-06 15:48:48 +08:00

2.0 KiB

AdGuard Home health — dns.windy.lan

This runbook is read-only. It does not expose query-log contents or secrets.

Routine checks run through Ansible on demand:

cd ansible
ansible-playbook playbooks/health-report.yml --limit adguardhome

The same sanitized profile is installed as a daily server-local timer (vps-healthcheck.timer, output at /var/lib/vps-health/latest.json) via playbooks/healthchecks.yml; the manual checks below are for focused diagnosis.

Verify service and configuration

ssh -4 -o BatchMode=yes windy@192.168.66.36
sudo docker ps --filter name=^/adguardhome$
sudo docker exec adguardhome /opt/adguardhome/AdGuardHome --check-config \
  -c /opt/adguardhome/conf/AdGuardHome.yaml
sudo ss -lntup | grep -E '(:53|:80)'

Expected: DNS listens on TCP/UDP 53, and the HTTP UI listens only on 192.168.66.36:80.

Verify DNS and storage

dig +time=5 +tries=1 @192.168.66.36 example.com A +noall +comments +answer
dig +time=5 +tries=1 @192.168.66.36 example.com AAAA +noall +comments +answer
dig +time=5 +tries=1 @192.168.66.36 hass.windy.lan A +noall +comments +answer
sudo docker logs --since 30m adguardhome 2>&1 | grep -Ei '\[(error|warn|fatal)\]|level=(error|warn|fatal)' || true
df -h /opt/adguardhome/work

The host intentionally accepts DNS from LAN55 and LAN66. Do not infer a broken DNS policy merely because allowed_clients is empty.

Verify management UI boundary

From LAN66, the UI should return a login redirect:

curl -sS -o /dev/null -w '%{http_code}\n' http://192.168.66.36/

From a LAN55 source, TCP/80 should time out or be refused by the dedicated agh-ui-access.service nftables rule. Do not alter this rule to restrict port 53 without an explicit network-access review.

DNSSEC and PTR caveats

DNSSEC is currently disabled. Before enabling it, select upstreams that pass a known-bad-signature test; an enabled DO bit alone is not validation.

Private PTR forwarding is intentionally absent because the EdgeRouter does not currently answer private PTR requests.