Unlure

Android

How to block adult sites on Android

Android has a free setting called Private DNS that blocks adult sites in every app and browser, on Wi-Fi and mobile data alike. Here's how to turn it on for your brand of phone, what it misses, and how to make it hold.

Time
2 minutes
Cost
Free
Works on
Android 9 or newer
Covers
Every app, Wi-Fi and mobile data

Short answer

Open Settings, search for Private DNS, choose Private DNS provider hostname, type family.cloudflare-dns.com and tap Save. Adult sites then stop loading in every app and browser, on Wi-Fi and mobile data. It's free and takes two minutes. The catch: anyone holding the phone can switch it off again in ten seconds.

Steps checked on 24 October 2026.

Turn on Private DNS

Private DNS sends every website lookup on the phone to a service you choose. Choose a family filter, and it answers "not found" for adult sites, so they fail to load in Chrome, in other browsers and inside apps. It works on Wi-Fi and mobile data, with nothing to install.

  1. 1

    Open Settings and type Private DNS in the search bar at the top. If nothing comes up, use the menu path for your phone below.

  2. 2

    Tap Private DNS and choose the option that lets you type an address: Private DNS provider hostname on most phones, Specified Private DNS on OPPO and OnePlus, Designated private DNS on realme.

  3. 3

    Type this address exactly, then tap Save.

    Private DNS provider hostname

    family.cloudflare-dns.com

  4. 4

    Close Chrome completely, open it again and try a site you want blocked. It should show an error instead of the page.

Where the setting is on each brand:

Samsung
Settings, Connections, More connection settings, Private DNS
Xiaomi, Redmi, POCO
Settings, More connectivity options, Private DNS
realme, OPPO, OnePlus (newest software)
Settings, Mobile network, More settings, Private DNS
realme, OPPO, OnePlus (older software)
Settings, Connection & sharing, Private DNS
Pixel, Motorola
Settings, Network & internet, Private DNS
vivo, iQOO
Settings, Search, Private DNS

The newest software is realme UI 7, ColorOS 16 and OxygenOS 16. If your phone isn't listed, search Settings for Private DNS.

If it doesn't work

Most problems come from one of these:

  • There's no Private DNS option. It needs Android 9 or newer; check the Android version under Settings › About phone. On vivo and iQOO, type Private DNS in the search bar at the top of Settings. An older phone can still be filtered on your home Wi-Fi with the router guide.
  • No internet after you save. Check the address for typing mistakes: it must be family.cloudflare-dns.com exactly. Some office and college Wi-Fi networks block Private DNS; it still works on mobile data.
  • Sites still open in a browser. Close the browser completely and open it again. If they still open, the browser may be using its own secure DNS. In Chrome, tap ⋮ › Settings › Privacy and security › Use secure DNS and choose your current service provider, or switch it off.
  • A VPN is on. A VPN app, or a browser with a VPN built in, looks up sites its own way and goes round Private DNS. Switch the VPN off.

Filters also miss some sites, especially new ones.

Turn on SafeSearch and YouTube Restricted Mode

Cloudflare says its family filter keeps public search engines on SafeSearch. YouTube is separate, and switching on Google's own setting as well costs nothing:

  • YouTube: in the YouTube app, tap your profile photo, then Settings, General, and switch on Restricted Mode.
  • Google: open google.com/safesearch in Chrome and choose Filter. Sign in first, so the setting is saved for every device you use.

Both can be switched off again in a few taps.

What the free setting can't do

Private DNS is a good first step. It has gaps that matter when you're trying to quit, not just tidy up your phone:

  • It switches off in ten seconds. The same menu that turns it on turns it off, and in a weak moment that's the first thing people do.
  • Reddit and X still show adult images. Their pictures come from the same servers as every other image on those apps, so a family filter lets them through.
  • Web proxy sites still open. A proxy site shows any website through its own address, and Cloudflare's family filter doesn't block them.

About Unlure

Make it hold: what Unlure adds

Unlure is an Android app that blocks the same way and closes those gaps. It filters every app and browser on the phone, and switching it off takes three days, so the urge has time to pass before the block can go.

Adult sites in every appBlockedBlocked
Switching it offTen seconds in SettingsTakes three days
Reddit, X and Imgur imagesStill loadBlocked; text still loads
YouTube Restricted ModeSeparate setting, easy to undoKept on
VPN and proxy websitesStill openBlocked
PriceFreeFrom ₹199, paid once

Making it stricter is instant; loosening it takes the same three days. For the strictest setup, the maximum lock stops the app being uninstalled at all until the wait is over. Unlure and Private DNS can't run together, so set Private DNS back to Off or Automatic before you install it. Android setup steps.

Questions

Can I block adult sites on Android permanently?

Not with a free setting: whoever holds the phone can switch Private DNS off in seconds. Blocker apps that use Android's admin access can also be removed once that access is switched off in Settings. Unlure makes switching off wait three days, and its maximum lock, set up once from a PC, stops the app being uninstalled until the wait is over. Before then, only a factory reset, which erases the phone, removes it.

Does Private DNS work on mobile data?

Yes. It covers Wi-Fi and mobile data alike, in every app.

Should I keep Private DNS on or off?

On, with family.cloudflare-dns.com typed in. Off and Automatic both stop the filtering.

Will it slow my phone down?

No. Only the address lookup changes, and Cloudflare answers from servers in India. Pages load as usual.

Why does a site still open after I set it up?

The browser probably remembered the old answer, or it uses its own secure DNS. See If it doesn't work above.

How do I turn Private DNS off again?

Open the same Private DNS setting and choose Off or Automatic.

Can I block adult sites on Android without an app?

Yes. Private DNS is built in, as above. An app is only needed if you want the block to be hard to undo.

Checked against

A wait between the urge and the way out.

Unlure blocks adult sites on your Windows PC or Android phone. Making it stricter is instant. Turning it off takes three days.