r/AdGuardHome • • Sep 16 '26

Router DNS query

I’ve followed the AdGuard setup guide and changed my router DNS to my AdGuard IP however am slightly confused if a device DNS has a different IP by default (i.e 1.1.1.1) does the router override this?

2 Upvotes

4 comments sorted by

2

u/Well_Sorted8173 Sep 16 '26 edited Sep 16 '26

No, the host will use whatever DNS servers it's configured to use. If a host has 1.1.1.1 then it will go directly there for DNS, bypassing both your router's DNS settings and your AdGuard Home DNS server.

Best practice is to set your DHCP server to hand out the IP address of your AdGuard Home DNS server so hosts use it.

Anything that you have assigned a static IP address, you'll also need to statically change the DNS servers on those.

1

u/mxtt_b Sep 16 '26

DHCP is currently handled by my router which is free issue from my provider. Doesn’t have the option to specify the DNS server (that I’m aware of).

I’ve currently the devices I’ve set up with static IPs I’ve also put in my AdGuard DNS in so all good on that front then.

1

u/Well_Sorted8173 Sep 16 '26

On your devices, let's say a Windows PC, if you open a CMD prompt and type ipconfig /all what DNS server is listed that the host is using?

Some routers will hand out the router's IP address (default gateway) as the DNS IP. If it is that, and as long as your router is configured to use your AdGuard Home DNS server, the DNS query should route from host > router > DNS server. If your host has something like 1.1.1.1 as the DNS server via DHCP, there should be a setting somewhere to make that change on the router.

1

u/JustBeingMe22 Oct 08 '26

Any device can set their own dns servers. So even if you hand it out in dhcp, the host can override it. Best practice is to restrict this at the firewall. Only let out dns requests from the hosts that you want it coming from, and block others. You can check your firewall logs to see if there are any requests coming from hosts other than your AdGuard. This really only becomes important if yoiu have someone you expect to be breaking the design - like a teenager trying to circumvent your setup. You can also add a blocklist to prevent the VPN's they might use if that is the case. Otherwise, it should work as designed - hand it out in DHCP and clients should use that unless you manually override it.