Quick answer: Private DNS is Android’s setting for encrypted DNS: it sends the website names your phone looks up over an encrypted connection, so your Wi-Fi network and your ISP cannot read or change them. To turn it on, go to Settings → Network & internet → Private DNS, choose “Private DNS provider hostname” and type a hostname such as dns.google or one.one.one.one. It hides your lookups from the network between you and the resolver — not from the resolver itself, and not your IP address. It is not a VPN.
Every time you open a website or an app, your phone asks a question first: what is the IP address of this name? That question is a DNS lookup, and by default it travels in plain text — readable by anyone between your phone and the resolver. Your ISP can read it. The café Wi-Fi can read it. A compromised network can read it, and even change the answer.
Private DNS closes that gap. It is a small setting with a big effect, and it has been sitting in Android since 2018. This guide explains what it is, how the encryption works, what it does not hide, how it differs from a VPN, which provider to pick, and how to turn it on — on Android, iPhone, Windows, Mac and in the browser.
What private DNS is
Private DNS is Android’s name for encrypted DNS. Instead of sending your DNS lookups in plain text to whatever resolver the network assigns, your phone sends them over an encrypted connection to a resolver you chose. The names you look up travel inside that encrypted connection, so the network between you and the resolver cannot read them or tamper with them.
By default, a DNS query is a plaintext packet sent to port 53. Anyone positioned between your device and the resolver — your ISP, a café router, a compromised network — can read exactly which domain you are looking up, even if the connection to the site itself is later encrypted with HTTPS. That visibility is what private DNS is built to close.
Google introduced “Private DNS” as a named, user-facing setting in Android 9 (Pie), released in September 2018 — announced on 13 April 2018 in the Android P Developer Preview. It lets a device send DNS queries to a specific resolver over an encrypted channel instead of accepting whatever unencrypted resolver the network assigns via DHCP. The same underlying capability exists on other platforms — Windows 11, iOS 14 and later, and most Linux distributions all support encrypted DNS — but “Private DNS” as a term is specifically Android’s name for it.
Private DNS is not a separate DNS server type or a VPN feature. It is a transport-layer change: the same records get resolved, through the same recursive-resolution process — only the query itself travels encrypted instead of in the clear.
If DNS itself is new to you, the dedicated guide starts from the beginning: what DNS is, why it breaks, and how to fix it.
The guide to fixing a DNS server that is not responding covers the checks that tell you whether the problem is your network or the service.
The router is the device that hands your phone its DNS settings in the first place — it assigns the resolver through DHCP, and private DNS overrides that assignment with one you chose.
The guide to network devices explains what the router does and how it differs from the modem, the switch and the access point.

How it works: DoT, DoH and DoQ
A lookup with Private DNS goes through six steps:
- An app asks the operating system’s stub resolver for the IP address of a name such as example.com.
- The stub resolver opens an encrypted connection to the configured resolver and checks that the server’s certificate matches the hostname you entered.
- The query travels through that encrypted tunnel.
- The resolver decrypts your query and resolves the domain name to an IP address.
- The resolver encrypts the response.
- The encrypted response comes back to your phone.
Step 2 is the part that makes it trustworthy: the resolver proves its identity with a certificate for the hostname, before any query is sent. That check is the same TLS handshake your browser runs on every HTTPS site — the same exchange, protecting a different conversation.
The guide to what an SSL handshake is explains that exchange step by step.
Three protocols implement encrypted DNS in practice:
| Protocol | Standard | Port | How it works | Weakness |
|---|---|---|---|---|
| DNS over TLS (DoT) | RFC 7858, May 2016 | TCP 853 | DNS wrapped in a TLS session on its own dedicated port | Easy for a network to block by filtering port 853 |
| DNS over HTTPS (DoH) | RFC 8484, Oct 2018 | TCP 443 | DNS sent as HTTPS requests, the same port as all web traffic | Harder to block — it looks like ordinary browsing |
| DNS over QUIC (DoQ) | RFC 9250, 2022 | UDP 853 | DNS directly over QUIC, resumes connections quickly | Few resolvers offer it yet |
Android’s Private DNS setting uses DoT by default. Since Android 11, a Google Play system update lets the device transparently upgrade the connection to DNS over HTTP/3 (DoH3, built on QUIC) when the resolver advertises support — for the providers Android recognises, Google’s dns.google and Cloudflare under the name cloudflare-dns.com. With one.one.one.one it stays on DoT. Entering a hostname does not lock you to one wire protocol: Android picks the strongest one your resolver and device both support, without any change to the Settings screen.
The three modes on Android
The setting has three modes, and the difference between them matters more than the setting itself:
Off. System DNS lookups go in plain text to the DNS servers assigned by the current network. The network operator — your mobile carrier, or the café Wi-Fi — reads and can rewrite those queries.
Automatic. The default. Android tries encrypted DNS with the network’s own DNS servers, using DNS over TLS or, for supported providers on Android 11 and later, DNS over HTTP/3. If encrypted DNS is unavailable, Android falls back to plain port 53 without telling you. Automatic stops passive reading only — and only when the network cooperates.
Private DNS provider hostname. Strict mode. Android resolves the hostname through the network’s DNS and checks the encrypted resolver’s certificate against that hostname. If Android cannot establish an authenticated encrypted connection, it does not fall back to plain DNS — lookups simply fail. Only hostname mode refuses to fall back to plaintext when the encrypted resolver is unreachable.
That is the gotcha most guides skip: Automatic sounds like protection, but it quietly gives up when the network does not support encryption. If you want the guarantee, use the hostname mode.
What private DNS does NOT hide
Private DNS hides your lookups from everyone between you and the DNS provider — your ISP, the network operator, others on public Wi-Fi. It does not hide them from the provider itself: the resolver you chose sees every name you look up. Choose a provider you trust, because you are moving the visibility from your ISP to them, not removing it.
And it hides nothing else. It is worth being exact about the rest:
- The resolver’s name. Android uses the network’s DNS to find the IP address of a configured resolver hostname, so the operator sees that lookup.
- The encrypted connection itself. A TCP connection to port 853 identifies DNS over TLS; the operator sees the resolver’s IP address and can block access to it.
- Where your traffic goes. The destination IP addresses of your connections are still visible, and so is the server name in the TLS handshake to the site itself.
- Your IP address. Private DNS does not hide who you are — only what names you looked up.
Private DNS is a small, real improvement. It is not anonymity, and it is not a tunnel. If you want the operator to see nothing but one encrypted stream to one server, that job belongs to a VPN.
Private DNS vs VPN
| Feature | Private DNS | VPN |
|---|---|---|
| Encrypts DNS queries | Yes | Yes |
| Encrypts all traffic | No | Yes |
| Hides your IP address | No | Yes |
| Changes virtual location | No | Yes |
| Improves DNS privacy | Yes | Yes |
| Helps prevent DNS leaks | Yes | Yes |
| Blocks malicious domains | Sometimes | Sometimes |
| Impact on connection speed | Minimal (~2–5% latency) | Usually more noticeable |
| Built into Android | Yes | No |
A VPN encrypts all internet traffic and hides your IP address. Private DNS only encrypts DNS lookups — it protects the “where are you trying to go?” part of your connection, not the rest of your traffic. Private DNS works quietly in the background and usually has less impact on battery life or connection speed than a VPN. Many people combine both: the VPN encrypts the payload, Private DNS secures the name resolution.
The speed cost is small either way. Encrypted DNS adds roughly 2–5% latency to a lookup — a few milliseconds, far less than a VPN adds to the whole connection.
The guide to reducing ping covers what that delay actually costs and the fixes that matter when a connection feels slow rather than small.
Which provider to pick
Android’s Private DNS only works with providers that support DoT, and every major public resolver publishes a specific hostname for the “Private DNS provider hostname” field:
| Provider | Private DNS hostname | Best for |
|---|---|---|
| Cloudflare | one.one.one.one | Speed — the fastest global network, strict no-log policy |
| Google Public DNS | dns.google | Reliability — excellent uptime, fast resolution worldwide |
| Quad9 | dns.quad9.net | Privacy + security — threat intelligence blocking |
| AdGuard | dns.adguard-dns.com | Ad and tracker blocking, system-wide |
| NextDNS | (your own hostname) | Custom filtering, per-device rules |
| CleanBrowsing | (family hostnames) | Family safety — malware + adult content filtering |
Cloudflare also offers filtered variants: security.cloudflare-dns.com blocks malware, and family.cloudflare-dns.com blocks malware and adult content. The quick picker: Cloudflare for speed, Cloudflare or Quad9 for privacy, AdGuard for ad blocking, CleanBrowsing for family safety.
How to turn it on: Android
Android has had Private DNS since Android 9 (2018). It applies to every app, on Wi-Fi and mobile data, and it takes effect immediately — no restart needed.
- Open Settings → Network & internet → Private DNS. (On Samsung: Settings → Connections → More connection settings → Private DNS.)
- Choose Private DNS provider hostname.
- Type a hostname — for example
one.one.one.onefor Cloudflare ordns.googlefor Google. - Tap Save.
That is it. Every app’s DNS requests now go through the encrypted connection to that resolver, on Wi-Fi and on mobile data alike.
It applies on mobile data too — the setting is system-wide, not per-network. The phone’s data still travels over the cellular network, but the names it looks up are encrypted before they leave the phone.
The guide to how mobile data works explains the path a phone’s traffic takes from tower to screen.
Any current Android phone has this setting — Android 9 and later, which covers every phone sold in the last several years.
The guide to the best Android phone covers the current picks.
How to turn it on: iPhone, Windows, Mac and browsers
iPhone and iPad. Unlike Android, Apple does not offer a direct text-entry field for DNS hostnames in iOS Settings. Instead, Apple supports system-wide encrypted DNS through signed configuration profiles (.mobileconfig) that register with the iOS NetworkExtension framework, or through apps that configure system DNS the same way. iOS 14 and macOS 11 onward support encrypted DNS; unlike Android’s Automatic mode, Apple’s platforms fail instead of falling back, with an exception for captive portals.
Windows 11. Windows 11 supports encrypted DNS system-wide — set it in Settings → Network & internet → your connection → DNS server assignment, and choose an encrypted (DoH) server. Windows 10 does not have the system-wide setting; use the browser instead.
Mac. macOS 11 and later support encrypted DNS through profiles, the same as iOS.
Browsers. Chrome, Firefox and Edge all have encrypted DNS (DoH) built in, in their privacy settings. It protects only the browser’s own lookups, not other apps — but on a Chromebook, where the browser is most of the system, it does most of the job.
The guide to Chromebook vs laptop covers which machine fits which kind of user, and a Chromebook is the cloud-first choice — its browser’s encrypted DNS covers nearly everything it does.
When it breaks things
Encrypted DNS is not free of side effects. Three cases catch people:
Captive portals. Hotel and airport Wi-Fi login pages work by intercepting your first DNS lookups and redirecting you to the login page. Strict hostname mode blocks that interception — so the login page never appears and you cannot get online. If you cannot reach a hotel Wi-Fi login page, turn Private DNS off, log in, then turn it back on.
Work and school networks. A restrictive network can block port 853, which stops DoT entirely — and in strict hostname mode, that means no DNS at all. Some employers also force their own DNS for filtering, and will block third-party resolvers on purpose. If nothing resolves on a work network, that is usually why.
A wrong hostname. A typo in the hostname field means the resolver cannot be found, and in strict mode nothing resolves at all. The fix is to re-check the hostname character by character — one.one.one.one, not 1.1.1.1 (an IP address is not a hostname, and Android will reject it).
In a company, DNS settings are often enforced centrally anyway — the management console sets them on every device, and the user cannot change them.
The guide to endpoint management software explains that central console: how IT enrols, configures and patches every device from one place.
Troubleshooting: nothing resolves after turning it on
If websites stop loading the moment you enable Private DNS, work through this in order:
- Check the hostname. Re-type it exactly:
one.one.one.one,dns.google,dns.quad9.net,dns.adguard-dns.com. One wrong character is enough. - Switch to Automatic. If hostname mode fails, Automatic tells you whether the network supports encrypted DNS at all — if Automatic works, the problem is your hostname, not the network.
- Try another provider. If one resolver is blocked on your network, another may not be — Cloudflare and Google are rarely both blocked.
- Check the network. If nothing resolves in any mode, the fault is not Private DNS — it is the network itself.
The guide to network troubleshooting covers the full layer-by-layer process — ping the gateway, ping a public IP, test DNS — and the step that fails tells you where the fault is.
The resolver’s answer also decides which server you reach: it points you to the nearest edge server for the site you asked for, which is why the same site can be fast in one city and slow in another.
The guide to what a content delivery network is explains how that edge works.
Frequently asked questions
What is private DNS on Android?
It is Android’s setting for encrypted DNS: your phone sends the website names it looks up over an encrypted connection to a resolver you chose, so your Wi-Fi network and ISP cannot read or change them. It has been in Android since Android 9 (2018). Go to Settings → Network & internet → Private DNS and enter a hostname such as dns.google or one.one.one.one.
Is private DNS the same as a VPN?
No. A VPN encrypts all your internet traffic and hides your IP address. Private DNS only encrypts DNS lookups — the “where are you trying to go?” part. It does not hide your IP, change your location, or encrypt the rest of your traffic. Many people use both.
Does private DNS hide my browsing from my ISP?
It hides the names you look up from your ISP and the network operator. It does not hide the destination IP addresses of your connections, and it does not hide your lookups from the DNS provider itself — the resolver you chose sees them. Choose a provider you trust.
What is the best private DNS hostname?
Cloudflare’s one.one.one.one is the best all-round choice — fastest, with a strict no-log policy. Google’s dns.google is the most reliable. Quad9’s dns.quad9.net adds threat blocking, and AdGuard’s dns.adguard-dns.com blocks ads and trackers system-wide.
Why does nothing load after I turn on private DNS?
Usually a typo in the hostname, or the network blocking port 853. Re-check the hostname character by character, try another provider, or switch to Automatic mode to test whether the network supports encrypted DNS at all. In strict hostname mode, a failed encrypted connection means no DNS — by design.
Does private DNS work on iPhone?
Yes, but differently: iOS has no hostname field. Encrypted DNS on iPhone comes through signed configuration profiles or apps that install them. iOS 14 and later support it, and unlike Android’s Automatic mode, iOS fails instead of silently falling back to plain DNS.
Does private DNS slow down my internet?
Barely. Encrypted DNS adds roughly 2–5% latency to a lookup — a few milliseconds. It is far less noticeable than a VPN, which encrypts the whole connection.
Should I use Automatic or a provider hostname?
Use a provider hostname. Automatic is the default, but it silently falls back to plain DNS when the network does not support encryption — so you may not be protected and never know it. Hostname mode refuses to fall back, so the protection is guaranteed or the lookup fails loudly.
Bottom line
Private DNS is Android’s encrypted DNS setting: it wraps the website names your phone looks up in an encrypted connection, so your ISP, your Wi-Fi network and anyone on public Wi-Fi cannot read or change them. It has been in Android since 2018, it takes thirty seconds to turn on — Settings → Network & internet → Private DNS → a hostname like one.one.one.one — and it costs almost nothing in speed. It is not a VPN, it does not hide your IP address, and it does not hide your lookups from the resolver itself. Use the hostname mode, not Automatic, pick a provider you trust, and remember the captive-portal gotcha on hotel Wi-Fi.
Continue Reading on CripsyWire
For more practical tutorials and hidden features, see our full how-to guides section. AI workflow guides feed into the broader AI tools and agents coverage, phone tricks live in smartphones, and wearable setup walkthroughs in wearables. When you are deciding what to buy, the reviews and comparisons section helps. All part of CripsyWire Tech, and the homepage shows what is newest.