AGH shows router's IP for all DNS requests

Hi there,

I’ve been trying to find a solution on YT and asked AI, but it seems to be quite specific issue. Moreover, I’m not experienced which does not help. I was wondering, if you guys could help me, please. Here is the case.

  • Linksys WRT1900AC v2 with OpenWrt 23.05.5 r24106-10cc5fcd00 / LuCI openwrt-23.05
  • AdGuard Home installed on CasaOS on my tiny home server connected to the router using patch cord.

All traffic from the router is recognised by AdGuard as “OpenWrt.lan (192.168.1.1)”. There are no other users on the AdGuard clients list, no matter which client in the network makes requests. It means for example, that I can't assign different rules for my kids, and this is one of the reasons to set up AdGuard.

Linksys setup:
IP 192.168.1.1
CasaOS set as static IP: 192.168.1.196

This is how I redirected traffic to AdGuard:
Network → Interfaces → LAN (edit) → Advanced Settings tab → “Use custom DNS servers”: 192.168.1.196 (attached screenshot)

AdGuard setup:
Fallback DNS servers: none

Bootstrap DNS servers:

208.67.222.222
208.67.220.220

Private reverse DNS servers:
192.168.1.1:53
[/168.192.in-addr.arpa/]192.168.1.1

Use private reverse DNS resolvers: enabled
Reverse resolving of clients’ IP addresses: enabled
EDNS client subnet: enabled
DNSSEC: enabled

DNS rewrites: none

Could you please help me to set it up i a way I could see in AdGuard all connected clients?

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#dhcp_options option 6, to point clients directly to 192.168.1.196.

1 Like

For Android clients you might also need https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns, if requests are intercepted by the fw, they'll pop up using the router's IP in AGH.

Works well, thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.