What DNS does
Before an app or a website loads anything, your phone asks DNS where the server is: “what’s the address of example.com?” DNS is like the internet’s address book, and your phone looks things up in it hundreds of times a day.
Normally these lookups go to your internet provider or Wi-Fi network without encryption. Anyone on the network can see them, and some networks change the answers.
What Private DNS changes
Private DNS sends the same lookups over an encrypted connection, using DNS over TLS, to a DNS server you choose. Your Wi-Fi network and your provider can no longer read or change the answers. Android Private DNS appeared in Android 9 and is on almost every phone today.
Android uses DNS over TLS for Private DNS. Recent versions can also use DNS over HTTPS with some providers. For you the result is the same: lookups are encrypted between the phone and the DNS server.
Should Private DNS be on or off?
Keep it on. Automatic is a safe default. Choose a provider hostname when you want ad blocking or a DNS provider you trust. Here’s what each Private DNS mode does:
| Mode | What it does | When to use it |
|---|
| Off | Plain DNS from your network, without encryption | Almost never |
|---|
| Automatic | Encrypts lookups only if your network’s DNS supports it | The default on most phones |
|---|
| Private DNS provider hostname | Always uses the server you enter, encrypted | To choose your own DNS, for example to block ads |
|---|
With a provider hostname, Android uses only that server. If it can’t reach it, websites stop loading and Android shows “Private DNS server cannot be accessed”.
How to turn on Private DNS in Android settings
- Open the Private DNS settings: Settings › Network & internet › Private DNS. On Samsung it’s in Settings › Connections › More connection settings, on Xiaomi in Settings › Connection & sharing.
- Choose Private DNS provider hostname.
- Enter the hostname of your DNS provider and tap Save.
The Android setup guide walks through each step and shows where the setting is on popular brands.
Private DNS for ad blocking
Some DNS providers filter lookups: they don’t give out the addresses of ad and tracking servers. Using Private DNS for blocking ads takes one setting: set such a provider as your Private DNS, and ads stop loading in every app and browser on the phone, on Wi-Fi and mobile data. That’s how Seawall works on Android: you paste your personal Seawall address as the provider hostname.
“Private DNS server cannot be accessed”
Android shows this when it can’t reach the hostname. Check that it’s typed exactly, without https:// or spaces. Some public Wi-Fi networks block encrypted DNS: switch to mobile data or set Private DNS to Automatic while you’re on that network.
Does Private DNS slow down your phone?
No. Encryption adds a tiny delay to the first lookup, and the connection is then reused. With a filtering provider, pages often load faster because ads and trackers don’t.