If Private DNS is not working on Android, the fastest fix is usually to verify the provider hostname first, then rule out network and VPN conflicts. A Private DNS field expects a valid provider hostname such as dns.google, one.one.one.one or dns.quad9.net—not an arbitrary DNS IP on devices that require DNS-over-TLS hostname validation.
1. Check that you entered a hostname, not the wrong value
A common mistake is entering 8.8.8.8 into the Private DNS provider hostname field. Google Public DNS documents dns.google for Android Private DNS. The numeric 8.8.8.8 and 8.8.4.4 addresses belong to traditional DNS configuration.
Use our Google DNS Android guide if you are unsure which field you are editing.
2. Re-type the provider hostname exactly
Remove spaces, protocol prefixes and paths. For example, enter dns.google, not https://dns.google and not dns.google/dns-query. Android’s Private DNS screen is not asking for a normal website URL.
3. Test a second known provider
If one hostname fails, temporarily test another documented provider:
dns.googleone.one.one.onedns.quad9.net
If every provider fails on one network but works on another, the problem is more likely the network path or local policy than your typing.
4. Check captive portals on public Wi-Fi
Hotels, airports, cafes and guest networks often require a sign-in page before full internet access is allowed. Private DNS can appear broken until the captive portal is completed. Temporarily switch Private DNS to Automatic, complete the Wi-Fi login, then try the provider hostname again.
5. Check VPN or security apps
VPN apps can supply their own DNS settings and may override Android’s system Private DNS behavior. Quad9 specifically notes that Android’s Private DNS feature is not used while a VPN is active in some configurations. Disconnect the VPN briefly, test Private DNS, then review the VPN’s own custom DNS setting.
6. Compare Wi-Fi and mobile data
Private DNS is designed to apply across networks, including cellular, but individual carriers, enterprise networks and restricted Wi-Fi can behave differently. If the same hostname works on mobile data but not Wi-Fi, troubleshoot the router or Wi-Fi network. If the reverse is true, test another location or contact the mobile carrier before resetting the phone.
7. Restart the connection before resetting the device
- Turn Airplane mode on for 10 seconds, then off.
- Reconnect to Wi-Fi or mobile data.
- Re-open Private DNS and save the hostname again.
- Test several websites, not only one domain.
A full network-settings reset removes saved Wi-Fi and Bluetooth/network configuration on many devices, so it should be a later step, not the first one.
8. If only one website fails
Do not assume the DNS service is down. A security-focused resolver such as Quad9 or a filtering resolver such as AdGuard may intentionally block a domain. The domain may also be temporarily misconfigured. Test another resolver and compare results.
9. Verify the DNS behavior
After Private DNS saves successfully, verify real browsing. Provider-specific test pages can also help: Quad9 documents on.quad9.net for verification. For broader Android DNS testing, DNS Changer & Net Speed Test provides another way to compare resolver behavior.
When to leave Private DNS on Automatic
If a work, school or managed network requires its own DNS policy, forcing a third-party resolver can break internal names or sign-in flows. In those cases, Automatic may be the correct setting. Private DNS is a tool, not a requirement to replace every network’s DNS configuration.
Official references
Featured image credit: Google Pixel 8 Pro and Google Pixel 7 Pro.jpg by SimonWaldherr, licensed under CC BY-SA 4.0, via Wikimedia Commons.

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