Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.


How to turn on Private DNS Mode on Android (and why you should)

Enabling Private DNS Mode on Android means your searches and other DNS queries are encrypted and safe from prying eyes. Here's everything else you need to know.
Written by Jack Wallen, Contributing Writer on
Reviewed by Alyson Windsor
Android and laptop concept
Getty Images / Galeanu Mihai

DNS stands for Domain Name Service, and it's at the heart of the internet. DNS makes it such that you don't have to type an IP address to get where you want to go. Without DNS, instead of just typing, say, "Google" into your browser, you'd have to remember an address like In other words, DNS makes the internet user-friendly. Your desktop, laptop, tablet, and even phone require DNS to function properly.

Also: LastPass breach: Hackers put malware on engineer's home computer to steal their password

Just about everything you do on your connected devices begins with a DNS query. So, when searching in your web browser's address bar or from just about any app on your mobile device, DNS is at work. 

The problem is that standard DNS isn't secure, meaning all your queries are sent over the network as plain text. 

Why is that a problem? Let's say you're on a public network (like a coffee shop), and you start searching for sundry things on your Android device. Or maybe you have to access a CMS or other work tool and you don't want the public to know the address you're typing. If someone else is on the same network and has the skills, they could intercept your search queries (or the URLs you visit) and know exactly what you're looking for. That may be innocuous, or it could be harmful. Either way, why take a chance?  

Also: Want to ditch LastPass? Here are the best alternatives to try

That's where Private DNS Mode comes into play. Once you enable this feature, all of your DNS queries are encrypted, so any bad actors wouldn't be able to view them (even if they capture those packets). In other words, Private DNS Mode should be an absolute must for anyone who values their privacy and security.

But how do you enable Private DNS Mode on Android? It's actually pretty simple. Let me show you how.


The only thing you need to enable Private DNS Mode is an Android device running at least Version 9 of the operating system (which was released in 2018). So pretty much every modern Android phone is capable of enabling the feature.

How to enable Private DNS mode on Android

1. Open Network & internet

Open the Settings app (either from the Notification Shade or the App Drawer) and then tap Network & internet.

2. Enable Private DNS

You'll find the entry for Private DNS near the bottom of the Network & internet window. If you don't find it, go back to the main Settings page and do a search for Private DNS.

Private DNS entry in Android Settings.

The Private DNS entry is in the Network & Internet section of the Settings app.

Image: Jack Wallen

3. Add a provider that offers secure DNS

This is where it can get a bit tricky. You need to have the address of a provider that offers Private DNS. Here's my provider of choice: 


Some other possible hostnames you can use:

  • Google DNS: dns.google
  • Quad9: dns.quad9.net
  • Cleanbrowsing DNS: security-filter-dns.cleanbrowsing.org
  • Open DNS:
  • NextDNS:
  • Comodo Secure
  • OpenNIC:

Note: Although each of the above free DNS services are worth trying, I would recommend going with Cloudflare (1dot1dot1dot1.cloudflare-dns.com). I find it to be the fastest and the most secure of the bunch. On top of the speed, Cloudflare adds DNS filtering into the mix, which can help prevent email from being sent from malicious IP addresses.

When you tap Private DNS, a new pop-up will appear. Tap Private DNS Provider Hostname, and then type the hostname for the DNS provider of your choice. 

DNS Selector for Android 12.

Figure 2: Adding a Private DNS provider for Android.

Image: Jack Wallen

You can also choose Automatic, which will automatically switch to Google's Private DNS when it's available. For those who aren't so quick to trust Google for such a feature, I would recommend selecting Private DNS and then typing the address for your provider of choice. Tap Save to save the new setting and close the Settings app.

And that's all there is to it. Once you've enabled Private DNS on Android, you can be sure all of your DNS queries are encrypted. Enjoy that added privacy and security.

Editorial standards