I doubt that you can't change the DNS your device is using unless its a company device with company policies?
Self-Hosted Main
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
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.
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.
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.
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