I am super lost on what to do to get my different devices IP address/names listed.
Router: Unifi Dream Machine
Router has DNS set to AGH IP address and the router is automatically setting DNS for each device. It makes sense that the router IP address is the only one showing, but I’m pretty sure there is a way to get distinct client IPs to show.
Anyone know what I need to do?
Basically you have:
Client > Router > Adguard
When you want:
Client > Adguard > Router
I also will note you should add some catch all’s to block known dns ips like Google’s, as there are many devices with hard coded DNS in them that will bypass your DNS. I use opnsense and block all dns requests except to my adguard home + Google DNS Ips.
Wouldn’t that effectively break the internet? Or are you saying there is a way in AGH to block DNS requests outside of my trusted DNS IPs?
You can set up firewall rules to redirect the traffic destined for public DNS servers to your internal DNS server.
Not sure how to construct that rule in the unifi firewall but it comes down to “any outbound traffic on port 53 that’s not destined for the adguard server, redirect it.”
Correct. But not only port 53 but also 853. I would also suggest disabling ipv6 if it’s unused as I’ve had services bypass my DNS with hardcoded ipv6 and ipv4 IPs as I mentioned before. Unless you absolutely need it for some reason.