If Android Private DNS keeps failing, appears to switch away from your provider, or works on one network but not another, the cause is usually not a mysterious “DNS reset.” Android’s Private DNS feature depends on a valid provider hostname and a working DNS-over-TLS connection. VPNs, DNS changer apps, captive portals and network restrictions can also make the setting appear ineffective.
Android 9 and newer support Private DNS using DNS-over-TLS. In provider-hostname mode, Android expects a hostname such as dns.google rather than a normal DNS IP address.
1. Confirm which Private DNS mode is selected
Search Android Settings for Private DNS. Android exposes three main choices: Off, Automatic and Private DNS provider hostname. If you want a fixed provider, make sure the provider-hostname option is selected and the hostname is still present after saving.
2. Check the hostname, not just the provider name
Use the exact DNS-over-TLS hostname published by the provider. Google uses dns.google; Quad9 documents dns.quad9.net. Do not enter 8.8.8.8 into a field that specifically asks for a Private DNS provider hostname.
For ready-to-copy values, see our Android Private DNS hostname list.
3. Check whether a VPN is overriding DNS
A VPN can control DNS inside its tunnel, so Android’s Private DNS setting may no longer determine which resolver actually handles requests. Quad9’s Android documentation explicitly notes that Private DNS is not used when a VPN is active and recommends configuring DNS through the VPN where supported.
Temporarily disconnect the VPN and test the same Private DNS provider again. This is a diagnostic step, not a recommendation to browse permanently without the VPN.
4. Disable competing DNS changer apps while testing
Apps that create a local VPN or otherwise manage DNS can override the system resolver path. Test one DNS method at a time. If Private DNS works only after the DNS changer is disabled, the two configurations were competing.
5. Test Wi-Fi and mobile data separately
Private DNS can work on mobile data and fail on one Wi-Fi network, or the reverse. A network can restrict DNS-over-TLS traffic even when normal web browsing works. Google documents DoT using TCP port 853.
If the same hostname succeeds on mobile data but fails on Wi-Fi, investigate the router, ISP, workplace or hotspot network before changing the phone repeatedly.
6. Complete captive-portal sign-in first
Hotels, airports and public Wi-Fi often require a browser sign-in page before normal traffic is allowed. A strict Private DNS configuration can appear broken until that portal is completed. Temporarily using Automatic mode can help you finish the sign-in, after which you can retest the custom provider.
7. If Android says the server cannot be accessed, treat it as a DoT reachability problem
Provider-hostname mode needs an authenticated DNS-over-TLS connection. If Android cannot reach or validate the provider, DNS can fail entirely in strict mode. Our Private DNS server cannot be accessed guide walks through that error in detail.
8. Test a second documented provider before resetting network settings
If one provider fails, test another official hostname. If every provider fails only on one network, the network path is a stronger suspect. If every provider fails across Wi-Fi and mobile data, check VPN/DNS apps, system updates and the phone’s network configuration before using a full network reset.
Quick diagnosis: what the symptom usually points to
| Symptom | First check | Safe next step |
|---|---|---|
| Private DNS hostname disappears from Settings | Device policy, firmware issue or another network-management app | Record when the change happens and which app or profile was active |
| Hostname is saved but requests use another resolver | VPN tunnel, DNS changer or browser-level secure DNS | Compare one connection method at a time; do not assume the Settings screen is broken |
| Works on mobile data but fails on Wi-Fi | Router, hotspot policy or port 853 restrictions | Test a second trusted network with the same hostname |
| Fails only on hotel or airport Wi-Fi | Captive portal sign-in | Complete the network login first, then return to the preferred Private DNS mode |
| “Private DNS server cannot be accessed” | DNS-over-TLS reachability or hostname validation | Double-check the documented provider hostname and network connectivity |
Important: Google dns.google and a browser’s “Secure DNS” feature are separate settings. Chrome may use its own supported secure DNS behavior; changing only Android’s provider field does not independently prove every app uses the same resolver. When troubleshooting, identify which app produced the error rather than mixing browser and OS results.
FAQ: Private DNS troubleshooting
Does changing DNS make mobile internet faster?
A different resolver may change lookup latency, but it cannot automatically improve poor Wi-Fi signal, congestion or a slow ISP connection. Compare results on the same network, and see our DNS speed explanation.
Is Private DNS the same as a full VPN?
No. Android Private DNS encrypts supported DNS lookups to the selected provider in hostname mode. A VPN can route a much broader set of traffic through its tunnel and may provide its own DNS path.
Should I reset the whole phone?
Not as a first step. Test the hostname, network, captive portal, VPN and DNS apps before considering a network reset. A full factory reset is disproportionate for an isolated DNS error unless other verified device problems justify it.
Private DNS “turning off” vs being overridden
These are different problems. If the Settings screen itself changes from provider-hostname mode to another mode, document when it happens and which app or device-management policy was active. If the setting remains saved but DNS tests show another resolver, a VPN, DNS changer or network-level override is more likely.
If you are configuring Google specifically, see our Google DNS on Android guide. For broader failures that are not limited to one provider, use our Private DNS not working troubleshooting guide.
Sources
- Android Help — Private DNS settings
- Google Public DNS — Android Private DNS setup
- Google Public DNS — DNS-over-TLS transport details
- Quad9 — Android Private DNS and VPN behavior
Featured image: Front of server racks at NERSC by Derrick Coetzee, CC0, via Wikimedia Commons.

Start the conversation
Corrections, useful experiences and focused questions are welcome. Keep discussion respectful and on topic.