by gizdan · 5y ago · 0 comments
On top of the above, the likes of Google are enforcing their DNS servers. For example, I run AdGuard Home with it's DHCP functionality. I am unable to rely on the DHCP settings on my Android phone because Google forces the first DNS server to be 8.8.8.8 with (as far as I can tell) no way to disable this.
I think at least for the foreseeable future the solution is to run Unbound and stop relying on DNS resolvers combined with a firewall that redirects all DNS records AdGuard Home/PiHole. This is obviously not a solution to the general public.
For DoH, you either have to block port 443 (bad idea), or block the IPs of all known DoH providers.
Then you can run for example a Pi-Hole and add a firewall rule to allow outgoing DNS traffic only for that.
And of course that will not stop device/app makers from using nonstandard ports or even tunnelling their DNS traffic through other protocols.
Which Android version and skin? I'm on an Android 10, MIUI12 device and the DHCP-provided DNS server is the one used ( AdGuard successfully blocks ads on websites, apps when on my phone, until i disable it).