Set Up Private DNS (DNS-over-TLS) on Android
Every time your phone opens a website, it asks a DNS server for the site’s address. Android’s built-in Private DNS setting can send those questions over an encrypted connection (DNS-over-TLS). You can leave it on Automatic, point it at a provider hostname, or turn it off. Follow the steps for your phone below.
What You Need
- An Android phone running Android 9 or newer (Private DNS first appeared in Android 9).
- A working internet connection (Wi‑Fi or mobile data).
- No apps required. Everything is built into Android.
What Private DNS Does — and Doesn’t
Private DNS helps secure only DNS questions and answers. It can’t protect anything else (such as the rest of your browsing). Google recommends keeping Private DNS turned on (usually Automatic).
Pixel and Most Stock Android Phones
Menu names can vary by phone and Android version.
-
Step 1: Open Private DNS settings
Open the Settings app. Tap Network & internet > Private DNS.
If you can’t find it, use the search box at the top of Settings and type Private DNS.
-
Step 2: Pick an option
Choose one:
- Off — your phone uses the DNS servers from your Wi‑Fi or mobile network (not encrypted by Private DNS).
- Automatic — Android uses Private DNS when the network supports it. Google recommends this as the usual setting.
- Private DNS provider hostname — you type a hostname for a DNS-over-TLS provider.
-
Step 3: Enter a hostname (optional)
If you chose Private DNS provider hostname, type a hostname only (not an IP address). Publicly documented examples include:
- dns.google (Google Public DNS)
- one.one.one.one (Cloudflare)
- dns.adguard-dns.com (AdGuard DNS)
These are examples of working hostnames, not a recommendation of any one provider.
-
Step 4: Save
Tap Save.
-
Step 5: Check that it works
Open a few websites in your browser. If pages load as usual, you’re set.
If nothing loads, or Settings won’t save the hostname, the name may be typed wrong or the provider may be unreachable. Go back to Private DNS and choose Automatic or Off, then tap Save.
Samsung Galaxy
On Galaxy phones, Private DNS sits under More connection settings.
-
Step 1: Open More connection settings
Go to Settings > Connections > More connection settings > Private DNS.
Or search Settings for Private DNS.
-
Step 2: Choose and save
Select Off, Automatic, or Private DNS provider hostname. If you pick a hostname, enter one (for example dns.google, one.one.one.one, or dns.adguard-dns.com), then tap Save.
-
Step 3: If sites break
Return to Private DNS, switch to Automatic or Off, and tap Save.
If Sites Break
- Open Private DNS again (search Settings for it if you need to).
- Choose Automatic or Off.
- Tap Save.
Some home networks need local device names to resolve. If printers, NAS boxes or other local names stop working, try Off while you’re on that network.