I have multiple VLANs and have adguard installed on a separate server. All of the VLANs are using DHCP 6 pointing to adguard and this works for the most part.
However, I'm still seeing 8% of the queries in adguard coming from the routers IP address, when looking at the queries they look to be from devices across different VLANs.
So it seems the router is still acting as a DNS and redirecting the queries, what can I check to stop this behavior?
Interface > Lan > DHCP Server > Advanced Settings > DHCP-Option > I have 6, 192.x.x.x
Interface > Lan > Advanced Setting > Custom DNS > I have 192.x.x.x
Okay I removed the Custom DNS under LAN interface, where do I set this in WAN interface? I remember seeing that as an option but can't find it now. Left it as default so it probably still getting WAN DNS from my ISP.
There is an option than is called DHCP-Option, in the textbox i have 6, 192.x.x.x which is the IP of adguard.
I never understood why the WAN DNS should be changed when I'm already using DHCP-Option 6, can you explain? and is it safe to use a local address such as 192.x.x.x for this?
Yes, it does look like traffic from the router has stopped in the adguard queries after the removal from custom dns.
Yes, the traffic goes from your router to the DNS server (i.e., the DNS query and reply), just like any other local DNS packets. All other usual steps are performed by the AdGuard server performing the lookup as you're configured it.
Wonderful!
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks!
I'm marking this as unsolved, I noticed as soon as I set the adguard IP address on the WAN Custom DNS I'm now see queries from the router again. I guess that makes sense if devices are still using the router as a DNS.
What I don't get is why the router is still being used even if I have set dhcp-option 6? Everything should go directly to adguard and not the router.
There are no connections to my router on 53/udp for ipv4, I see port 53 being used by my adguard server and one rouge IoT device which I'll need to investigate, but that would not cause the amount of queries I'm seeing from the router in adguard or the type of queries.
There are a bunch of ipv6 going to fe80 address on port 53, which I assume is the link local address?
It is totally normally that within a subnet the link local addresses are used. That's why we have them in the first place.
But a user, messing with advanced setups, have to ensure that every piece and bit is properly configured. And not half baked.