Private DNS & Adaptive Connectivity on Android 12
In this article
Private DNS on Android 12 encrypts your DNS queries to prevent snooping and spoofing, while Adaptive Connectivity automatically switches between Wi‑Fi and mobile data for a stable connection. To use both, go to Settings > Network & internet — the exact wording may vary slightly by device and Android version.
What You'll Need
- An Android 12 device (Pixel, Samsung, OnePlus, etc.)
- Access to your Wi‑Fi network credentials (if you plan to set a per‑network DNS)
- A private DNS provider's hostname (e.g.,
dns.google,one.one.one.one) — or you can use your own server if you host one
Step-by-Step
Enable Private DNS (System-wide)
- Open Settings on your Android 12 device.
- Tap Network & internet (or Connections on some Samsung devices).
- Tap Private DNS (on some devices it's under Advanced or More connection settings).
- Select Private DNS provider hostname.
- Enter the hostname of your chosen DNS provider — for example,
dns.googlefor Google Public DNS orone.one.one.onefor Cloudflare. - Tap Save or OK. Your device will now use encrypted DNS for all networks.
Set Private DNS for a Specific Wi‑Fi Network (Optional)
- Go to Settings > Network & internet > Wi‑Fi.
- Tap the connected network's name or the gear icon next to it.
- Tap Edit (pencil icon) and then Advanced options.
- Change IP settings to Static (if it isn't already).
- In the DNS 1 and DNS 2 fields, enter the IP addresses of your preferred DNS servers (e.g.,
8.8.8.8and8.8.4.4for Google). - Tap Save. This overrides the system‑wide Private DNS for that network only — note that this method does not use encryption; it's just a manual DNS assignment.
Enable Adaptive Connectivity
- Open Settings.
- Tap Network & internet (or Connections).
- Tap Adaptive connectivity (on Pixel devices it's under Internet; on Samsung it may be under Advanced Wi‑Fi). If you don't see it, your device may not support this feature — check the manufacturer's settings.
- Toggle the switch to On. This allows Android to automatically switch between Wi‑Fi and mobile data when one connection is weak or unstable.
- Optionally, you can enable Switch to mobile data (or similar) to allow the phone to move to cellular data when Wi‑Fi is poor.
Common Mistakes
- Entering a URL instead of a hostname — Private DNS requires a hostname like
dns.google, not a full URL likehttps://dns.google. - Using an invalid hostname — If you mistype the provider's hostname, DNS will fail. Double‑check the spelling.
- Forgetting that per‑network DNS overrides Private DNS — If you set a static DNS on a Wi‑Fi network, that network will not use the encrypted Private DNS you configured globally.
- Assuming Adaptive Connectivity is on all devices — Some Android 12 devices (especially budget models) may not have this feature. Check your manufacturer's manual.
- Enabling Adaptive Connectivity without checking data limits — The feature may switch to mobile data, which can consume your cellular data plan. Monitor your usage.
Tips
- For best privacy, choose a reputable DNS provider that supports DNS‑over‑TLS (DoT) — Google and Cloudflare are common choices.
- If you travel often, keep Private DNS enabled globally — it works on any network, including public Wi‑Fi.
- Adaptive Connectivity works best when you have a stable mobile data plan; if you have limited data, consider turning it off.
- To test if Private DNS is working, visit a site like
1.1.1.1/help(Cloudflare) ordnsleaktest.com— they'll show whether your DNS is encrypted. - If you have a home router that supports DoT, you can also set it up there, but the Android setting is simpler for on‑the‑go use.
Troubleshooting
Private DNS not working
- Check the hostname — Re‑enter it carefully. A single typo breaks DNS.
- Restart your device — Sometimes a reboot clears temporary glitches.
- Try a different provider — If one hostname fails, switch to another (e.g., from
dns.googletoone.one.one.one). - Check your network — Some public Wi‑Fi networks block non‑standard ports. If DNS fails only on a specific network, that's likely the cause.
- Reset network settings — As a last resort, go to Settings > System > Reset options > Reset Wi‑Fi, mobile & Bluetooth. This will forget saved Wi‑Fi networks and Bluetooth devices, but won't delete personal data.
Adaptive Connectivity not appearing
- Check if your device supports it — Not all Android 12 devices have this toggle. Search your settings for "adaptive" or "smart network switch" (Samsung).
- Update your device — Ensure you have the latest security patch and system updates.
- If it's missing, you can't enable it — There's no official workaround. You can manually switch between Wi‑Fi and mobile data when needed.
Frequently Asked Questions
Does Private DNS work on all networks?
Yes, Private DNS works on any network — Wi‑Fi, mobile data, or even public hotspots. However, some networks may block the required ports (853 for DoT), in which case DNS will fail on that network.
Will Private DNS slow down my internet?
Usually not. The encryption adds a tiny overhead, but most users won't notice any difference. In some cases, it can even be faster if your ISP's DNS is slow.
Can I use Private DNS and a VPN at the same time?
Yes, but the VPN's DNS settings may override the Private DNS. If you want Private DNS to work with a VPN, check the VPN app's settings — some allow you to set a custom DNS.
What is the difference between Private DNS and a regular DNS setting?
Regular DNS sends queries in plain text, which can be intercepted or spoofed. Private DNS encrypts the queries (using DNS‑over‑TLS), so they can't be read or modified in transit.
Does Adaptive Connectivity use more battery?
It can, because the phone constantly evaluates network quality. However, the impact is usually minimal, and the convenience of seamless switching often outweighs the slight battery drain.
Can I set a different Private DNS for each Wi‑Fi network?
Not directly. The Private DNS setting is global. However, you can set a static DNS per network (as described above), which will override the global setting for that network — but that static DNS is not encrypted.