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?
Hi!
I don’t know which router equipment you’re using so I can’t advise further, however, In your DHCP server settings you need to set the DNS server to your AdGuard DNS and then release/renew your leases on your client devices. (This can be a command like ipconfig /release on your Win machines, or reconnecting your wifi on mobile devices).
Ahah! That worked. Thanks!
For some reason I thought that disconnecting and reconnecting to the network automatically renewed the DHCP lease.
Is there anyway to force all clients to renew their lease?
You’ll have to wait until they ping home and ask to renew the DHCP lease, on most home routers it’s once every 30 minutes or so.
Awesome. Thanks CriticalMiss!
Basically you have:
Client > Router > Adguard
When you want:
Client > Adguard > Router
From one of your devices can you check what DNS server they are using? It sounds like the router is setting itself as the DNS server. This would mean all your devices would list your router’s IP address and the DNS server. This is a different setting than the DNS server that your router is using.
If that’s the case you tell your router to tell your devices to set the DNS server to the IP address of your AdGuard Home device. Alternatively, you can manually set the DNS server on your devices.
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.
deleted by creator