internal DNS: lab.internal resolver on the WG hub (dnsmasq on rpi)

WireGuard clients apply the tunnel DNS to the whole device, so the hub
resolver answers lab.internal authoritatively and forwards everything else:

- dnsmasq on rpi, bound to lo/wg0/wg-remote only, 10.10.0.1 + 10.20.0.2
- grafana.lab.internal, hubble.lab.internal -> 10.10.0.2 (hosts file, one
  line per record)
- ufw: 53 allowed from 10.10.0.0/24, 10.20.0.0/24, 10.244.0.0/16; dropped
  everywhere else, inserted above the LAN catch-all
- docs: zone, per-client instructions (phone is a linode-hub spoke), rollback
This commit is contained in:
Lance Walters 2026-10-27 01:03:42 -04:00
commit ead60fface
6 changed files with 365 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# lab.internal zone records -- hosts(5) syntax: <address> <name> [aliases]
# Installed as /etc/dnsmasq.d/lab-internal.hosts, read by dnsmasq via
# addn-hosts=. Adding a service = adding a line here + `systemctl reload dnsmasq`
# on rpi (a reload re-reads addn-hosts; no restart needed).
#
# 10.10.0.2 is siriussec, which serves both internal dashboards today (Cilium
# ingress Envoy is only on siriussec; 10.10.0.1/rpi does not front them). If
# the gateway ever moves to rpi, change the address here only.
10.10.0.2 grafana.lab.internal
10.10.0.2 hubble.lab.internal