Adguard is not the same as Adguard Home.
Hello, sorry for noob question, can u give me a tip about correct settings for ADHI have one router from provider in (bridge mode) and one more Asus (merlin) with ADH (192.168.50.1)what should i write on LAN DNS 1/2 ? 192.168.50.1 or DNS server like (9.9.9.9 or 8.8.8.8 or similar)
How come DNS Director goes to Router and not to AdGuard Home running on the NAS?- LAN DNS to your AdGuard
- WAN DNS to your AdGuard
- DNS Director to Router
- AdGuard running device with No Filtering
- DNS Rewrites in AdGuard for local domains
- Private reverse DNS in AdGuard so it sees the client names
Don't change anything else. Disable IPv6 if you don't need it.
View attachment 51042
Tech9 had DNS Director pointing to "Router" rather than the Synology...DNS director to Synology IP. If you put router then any client ignoring your DHCP DNS would use the router DNS instead of the synology.
You need to make an exception for the Synology in DNS director to allow it to get out or you'll just end up in a black hole loop.
As always, bear in mind any client configured to use secure DNS to an outside server will be able to bypass all your DNS stuff unless you install and regularly update a blacklist for known DNS servers.
@Tech9 suggests pointing the WAN DNS to your internal DNS - apparently this works (have never tried it) but as the other poster mentioned you probably need to disable DNS rebind protection in this case. However in reality leaving the WAN at automatic and setting DNS director to the IP of your synology is cleaner and will accomplish the same thing.
since there seems be conflicting information from @drinkingbird, @tnpapa, and @Tech9
Tech9 had DNS Director pointing to "Router" rather than the Synology...
Perhaps because different people asked different things and there is a difference in settings when AdGuard Home is run on the router and on a separate device. My last example was for AGH run on the router, the previous was for separate device, etc. Currently I don't have it running.
If you don't advertise router's LAN IP as DNS the first custom DNS server is in fact your Router in DNS Director. This is what the devices get from DHCP and it's obviously the external AGH. Whatever is set in WAN will be used by the router only. It can be the same AGH device IP, your choice. I know it's probably a bit confusing, but you have few optional settings on top of each other and have to catch the logic how they work together.
Don't put anything in the WAN section. Leave that completely alone and at its defaults.
You put the IP address of the device with Adguard Home on it in the LAN section where it says DNS Server 1. If you have an IPv6 address for the device put that in the line that says IPv6 DNS Server. Turn off Advertise router's IP in addition to user-specified DNS. Now all devices on your network will get the IP of your Adguard server.
Do not turn on DNS Director or Adgauard will fail.
This is the only proper way to configure this. Works perfectly.
Why must DNS Director be off?
Got it, I thought he meant entirely off. Yes, I will exclude my NAS running AdGuard ("No Redirection"!).For AdGuard Home device. It has to be excluded with no redirection. See post #11 example. Ubuntu Server was my AdGuard Home device.
I could be wrong, but I follow the following advice myself. In the DNS settings AdGuard Home, in the DNS server configuration section, in Blocking mode, select REFUSED. This is enough to get rid of these log messages. In general, you can disable DNS Rebind protection in the router settings, because it only protects the area from the router to your AdGuard Home, which is located on your local network, so there is no point in it.Well something is not right about this. DNS is working but the system logs are showing most lookups result in a possible DNS rebind attack.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!