I have a local Adguard home sever, which is used as DNS and DHCP Server. This is completely working fine on my Computers. I was wondering why my phone is still showing ads which were blocked on my PC.
Then I found out that my mobile device is not using my local DNS. I am using a public tld in my home to have valid let’s encrypt certs also on my private services. But this is not working on my Android. I found out that my phone is using hard coded DoH Servers. I found people with the same problem online, they are blocking DoH and routing all Port 53 traffic to the local DNS. I did the same. But the only thing I get as result is a timeout in the mobile Webbrowser.
How is it possible to use my local DNS server with public tld on mobiles? Any help is appreciated 👍
I use wire guard for all my mobile traffic and have wireguard set to use my pihole server for dns
Disable Private DNS on Android
Asus router with merlin firmware have an option called “global redirection” that can force LAN devices to use specific dns server.
This won’t help against the device using DoH
I kept hating against DoH for this reason and now they’re deploying it without a way out. Or it requires significant extra configuration.
My Samsung device still uses my own local DNS, but I wonder when that will also follow.
I doubt that you can’t change the DNS your device is using unless its a company device with company policies?
with iOS/iPadOS it’s as simple as downloading a DNS profile https://www.reddit.com/r/Adblock/comments/koowte/encrypted\_dns\_profiles\_for\_ios\_14/
As I said in my initial comment, only MDM would prevent that, you can change the IP of the DNS server used via network settings on your phone, no need to download profiles.
What makes you think this is the case?
A DNS leak test showing Cloudflare could just be that is the upstream resolver in your AGH config, for example.
Provide your phone model and Android version, I’ve never heard of the DNS being unchangeable. Bonus punts if you can post a screenshot of your phones ‘private dns’ settings.