Hi everyone,
I'm running a layered DNS setup at home for better control and visibility:
Device: GL-MT6000 Flint2 - OpenWrt 21.02-SNAPSHOT
Kernel: 5.4.238
LAN client → Dnsmasq (handles DHCP & DNS) → AdGuard Home (ad-blocking) → NextDNS (DoH resolver)
Dnsmasq is handling DHCP and DNS.
AdGuard Home is running on my GL.iNet Flint 2 router.
NextDNS is configured in AdGuard Home as the upstream resolver via DoH.
On NextDNS, I do see the real client IPs (great!).
But in AdGuard Home, all clients appear as 127.0.0.1 or the router IP, not the actual LAN device IPs.
I already tried:
Setting add-mac, add-subnet=32,128 in dnsmasq.
Enabling EDNS Client Subnet (ECS) support in AdGuard Home.
Testing with and without strict-order , bogus-priv, no-resolv options.
Verified DHCP leases are assigning correctly and contain MAC info.
Still, AdGuard Home doesn’t log the real LAN client IPs, which makes per-device filtering and stats useless.
What I want:
See real LAN client IPs inside AdGuard Home, not just on NextDNS.
My Questions:
- Is there a known method or config combination that allows dnsmasq to pass real client IPs to AdGuard Home running on the router?
- Does AdGuard Home need to run on a separate device to capture LAN IPs properly?
- Would changing the chain (e.g, clients → AdGuard → dnsmasq → NextDNS) help resolve the IP logging issue?
Any advice or insight would be appreciated. Happy to share more config details if helpful.
Thanks in advance!
Arnold