adguard: explicitly enable LAN rewrites (schema change on stable)

AdGuard's recent config schema added an enabled flag on each rewrite
that defaults to false. Without it, the *.nordhammer.it -> 10.0.0.1
rules were silently disabled, so LAN clients resolved their own
domains to the public DDNS IP and tripped over NAT loopback.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-29 18:56:11 +01:00
parent 4c80e26431
commit 79d7d3f88e

View file

@ -36,10 +36,11 @@
url = "https://big.oisd.nl/"; } url = "https://big.oisd.nl/"; }
]; ];
# Resolve our own hostnames to the router's LAN IP so LAN clients # Resolve our own hostnames to the router's LAN IP so LAN clients
# bypass any NAT reflection. # bypass any NAT reflection. `enabled` was added in AdGuard's recent
# schema and defaults to false — must be set explicitly.
filtering.rewrites = [ filtering.rewrites = [
{ domain = "nordhammer.it"; answer = "10.0.0.1"; } { domain = "nordhammer.it"; answer = "10.0.0.1"; enabled = true; }
{ domain = "*.nordhammer.it"; answer = "10.0.0.1"; } { domain = "*.nordhammer.it"; answer = "10.0.0.1"; enabled = true; }
]; ];
}; };
}; };