Private DNS on Android: one line that keeps scam sites off your child’s phone
Type family.cloudflare-dns.com into Settings and malware, phishing and adult domains stop loading on Wi-Fi and mobile data.

Every time a phone opens a website, it first asks a DNS server for that site’s address. Android 9 and later let you pick that server yourself through a setting called Private DNS. The lookup is encrypted, and the choice applies on every network: home and school Wi-Fi, the café hotspot and mobile data alike.
That matters for a child’s phone, or an older relative’s, because some DNS services simply refuse to answer for known scam and malware domains. The page never loads.
Three hostnames, pick one
Cloudflare’s free 1.1.1.1 service documents three hostnames you can type into the Private DNS box:
- one.one.one.one: fast, encrypted lookups with no filtering.
- security.cloudflare-dns.com: blocks domains linked to malware and phishing.
- family.cloudflare-dns.com: blocks malware and phishing plus adult content. This is the one for a child’s phone.
When a domain is blocked, the resolver answers with 0.0.0.0 instead of the real address, so the connection simply fails.
Setting it up on Android 9 or later
- Open Settings > Network & internet.
- Tap Advanced > Private DNS.
- Choose Private DNS provider hostname.
- Type one of the three hostnames and tap Save.
Phone makers arrange their menus differently. If the path doesn’t match, type “DNS” into the search bar at the top of Settings.
Check it’s working
Cloudflare publishes two test pages: malware.testcategory.com checks malware blocking, and nudity.testcategory.com checks adult-content blocking. If the page won’t open after you save, the filter is doing its job.
What it won’t do
The filter works on website names, not on what’s inside a page, so it doesn’t replace the phone’s parental controls or keeping an eye on which apps are installed. A VPN app can also bypass it, because the VPN brings its own DNS.
Photo: a hand holding a smartphone with a blank screen. By Santeri Viinamäki, CC BY-SA 4.0, via Wikimedia Commons.
Source: Cloudflare 1.1.1.1 documentation, “Android” setup and “1.1.1.1 for Families” pages (developers.cloudflare.com), read on 20 November 2026.
Kuwait One, once a week.
The most useful stories we published this week, in your inbox.
No spam. Unsubscribe anytime.



