This little-known Android setting makes public Wi-Fi much less dangerous


Public Wi-Fi is handy, however it could actually expose extra of your looking than you’d anticipate. Android has a built-in characteristic referred to as Non-public DNS that quietly encrypts one of the vital revealing components of your connection. This is what it does, how one can flip it on, and what else helps.

What’s a non-public DNS?

Encrypting the lookups your cellphone makes behind the scenes

As you might or could not know, each time you faucet a hyperlink or open an app, your cellphone has to determine the place that web site or service really lives. It does this by the Area Title System, or DNS, which interprets names like google.com into the numerical IP addresses computer systems use to succeed in one another. DNS is likely one of the oldest components of the web, and it wasn’t designed with privateness in thoughts. Conventional DNS requests journey unencrypted, so anybody between you and the DNS server can learn them.

On your private home community, in fact, that normally means your web supplier. On public Wi-Fi at an airport, café, or resort, extra folks could possibly be watching. The community operator can see each area your cellphone appears up, and a malicious hotspot can go additional by tampering with these responses, quietly sending you to a pretend login web page as an alternative of the actual one. That is referred to as DNS spoofing, and unencrypted lookups make it simpler to drag off.

A personal DNS is the way you resolve that downside. Google added assist for it in Android 9 Pie, and it has been a part of each model since. Within the case of Android, it makes use of a protocol referred to as DNS-over-TLS, which wraps your lookups in the identical sort of encryption that protects HTTPS web sites. As an alternative of sending requests in plain textual content, your cellphone opens a safe connection to a trusted resolver, checks that it is speaking to the fitting server, and sends its queries by that connection. Neat.

Consequently, a nosy community can now not learn or alter your DNS visitors. Non-public DNS does have limits, although. It would not disguise your IP tackle, and a decided observer can nonetheless infer some issues concerning the servers you hook up with. It is not a VPN. What it does is shut a typical hole that is simple to take advantage of, and it really works on the operating-system stage, so it covers each app in your cellphone with out additional software program.

How do you set it up?

Selecting a trusted supplier takes lower than a minute

A 3D Android mascot emerging from a smartphone screen holding a Wi-Fi icon, with white signal waves radiating outward on a blue background. Credit score: Lucas Gouveia / How-To Geek

For what it is price, establishing Non-public DNS takes lower than a minute, and also you needn’t set up something. The precise path depends upon who made your cellphone. On Pixels and most telephones operating near-stock Android, open Settings, faucet Community & web, and search for Non-public DNS. On some fashions, it sits underneath an Superior menu. Samsung places it some place else: go to Settings, then Connections, then Extra connection settings, and you will find Non-public DNS there. If you cannot discover it, trying to find “Non-public DNS” within the Settings search bar is normally the quickest route.

When you open it, you will see three choices: Off, Automated, and Non-public DNS supplier hostname. Automated is usually the default. It tries to encrypt your lookups utilizing your community’s personal DNS server if that server helps encryption. If it would not, your cellphone falls again to common, unencrypted DNS with out telling you, which is strictly what you’d get on a sketchy public hotspot.

For actual safety, select the supplier hostname possibility. This makes your cellphone use a selected encrypted resolver on each community. You may must enter a hostname quite than an IP tackle as a result of Android confirms the server’s identification as a part of the encrypted handshake. Widespread free selections embody dns.google for Google Public DNS and one.one.one.one for Cloudflare. Personally, I exploit Cloudflare myself, since I’ve discovered it to be the quickest and most dependable. There’s additionally dns.quad9.internet for Quad9, which blocks identified malicious domains, and dns.adguard-dns.com for AdGuard, which additionally filters many adverts and trackers. Kind it in, faucet Save, and also you’re performed.

There’s one quirk to find out about. Some public networks, together with sure resort and company Wi-Fi setups, block the port that DNS-over-TLS depends on. If that occurs, Android will warn you that the Non-public DNS server cannot be accessed, and pages will not load. Switching to Automated for some time will get you on-line, however you need to deal with that community with additional warning.

Different stuff you are able to do

Stacking easy habits for safer public Wi-Fi

Illustration of a VPN shield icon in front of a glowing digital globe, with rocket symbols representing internet speed and connectivity on a blue background. Credit score: Lucas Gouveia/How-To Geek | Kanr2425/Crop3d/Shutterstock

Non-public DNS is a brilliant baseline, nevertheless it solely fixes one of many issues that make public Wi-Fi dangerous. If you happen to usually join at airports, espresso outlets, or motels, a couple of different habits make an actual distinction.

The best improve is a good VPN. Non-public DNS encrypts solely your lookups, whereas a VPN encrypts all your visitors between your cellphone and the VPN server, hiding which websites and companies you employ from the native community. Most VPN apps ship DNS by their very own encrypted connection and override your Non-public DNS setting whereas linked, so the 2 do not battle. Select rigorously, although. A free VPN with a imprecise privateness coverage can find yourself seeing extra of your knowledge than the café community ever would.

You may also be stricter about how your cellphone joins networks. Android can keep in mind open networks you have used earlier than and reconnect to them routinely. That makes it simpler for an attacker to arrange a pretend hotspot with a well-known title. Overlook public networks once you’re performed, and switch off any setting that connects to open Wi-Fi routinely. When you do not want Wi-Fi, switching it off additional reduces your publicity.

Take note of what you do whereas linked. Virtually each main web site now makes use of HTTPS, however examine for it earlier than coming into passwords or fee particulars, and by no means click on previous a browser warning about an invalid certificates. For delicate duties like banking, your cell knowledge connection is usually safer than shared Wi-Fi. If it’s essential to get a laptop computer on-line, your cellphone’s hotspot works too.

Lastly, preserve your cellphone up to date. Android safety patches and Google Play system updates repeatedly repair vulnerabilities within the networking stack and elsewhere, however they solely assist in the event you set up them.

Non-public DNS is a small step with actual advantages

Non-public DNS will not flip public Wi-Fi right into a safe community, nevertheless it closes a simple hole attackers love to take advantage of. Set a trusted hostname, pair it with a VPN and wise habits, and your Android cellphone turns into far tougher to listen in on.