How to Set Up Private DNS on Android

Private DNS settings on Android illustration

Private DNS encrypts the DNS lookup step your phone uses before opening websites and app services. Instead of letting every Wi-Fi network or carrier handle those lookups in plain text, Android can send them through a DNS provider you choose.

These steps apply to Android 9 Pie and later on Samsung, Pixel, Motorola, and other Android phones.

Does This Affect You?

Use this if you want to enable encrypted DNS, switch providers, or fix the message that Android could not connect to the private DNS provider.

Turn On Private DNS

  1. Open Settings > Network & internet > Private DNS.
  2. On Samsung, check Settings > Connections > More connection settings > Private DNS.
  3. Choose Private DNS provider hostname.
  4. Enter a provider hostname, such as dns.google, 1dot1dot1dot1.cloudflare-dns.com, or dns.quad9.net.
  5. Tap Save.

Android tests the hostname after saving. If it connects, DNS lookups on Wi-Fi and mobile data use that encrypted provider.

Fix Could Not Connect to Private DNS Provider

  1. Check the hostname spelling carefully. One missing character will fail.
  2. Try mobile data if you are on work, school, hotel, or public Wi-Fi. Some networks block DNS over TLS on port 853.
  3. If it only fails at home, check router parental controls, ad blocking, or DNS override settings.
  4. Try a different provider hostname to confirm whether the issue is provider-specific.
  5. Switch back to Automatic while troubleshooting so normal browsing keeps working.

Switch Back to Automatic or Off

  1. Open the Private DNS setting again.
  2. Choose Automatic to let Android use encrypted DNS when the network supports it and fall back when it does not.
  3. Choose Off to disable Private DNS and use the network DNS directly.
  4. Tap Save.

Privacy and Filtering Notes

Private DNS Is Not a VPN

Private DNS protects the lookup request, not all internet traffic. Websites still see your connection, and networks may still infer some activity from the servers you contact.

Provider Policies Still Matter

Google, Cloudflare, and Quad9 publish different retention and privacy policies. Quad9 also blocks many known malicious domains as part of its service.

It Can Bypass DNS-Based Filters

If a family router, school network, or ad-blocking DNS service depends on controlling DNS, choosing a different Private DNS provider can bypass that filtering. Be careful on managed or child devices.

Sources

  • Android Help: Change DNS settings for Private DNS
  • Google Public DNS: DNS over TLS documentation
  • Cloudflare: Set up 1.1.1.1 on Android
Disclosure: This post may contain affiliate links which means I may receive a commission for purchases made through links. I will only recommend products that I have personally used! Learn more on my Private Policy page.
A thoughtful woman reads a newspaper while enjoying coffee at an indoor workspace.

DEALWEEK

SUBSCRIBE AND GET 20% OFF YOUR NEXT ORDER! OFFER ENDS SOON - DON’T MISS OUT!

We don’t spam! Read our privacy policy for more info.

Shopping Cart