Quick answer: A family DNS service can block lookups for domains it classifies as adult content. For Cloudflare’s adult-content option, use 1.1.1.3 and 1.0.0.3, not ordinary 1.1.1.1. On iPhone, manual DNS changes cover only the selected Wi-Fi network, not cellular data. On Mac, configure the network service you use. Then test the filter in each browser and connection you rely on.

This walkthrough is for adults setting a voluntary barrier on their own devices. It fills in the DNS setup behind our broader guides to blocking adult websites without manual iPhone Screen Time setup and without manual Mac Screen Time setup. It is not a managed-device enforcement guide or a guarantee that explicit content cannot be reached.

Cloudflare’s public resolver is a free option, documented in its resolver overview. This guide follows provider instructions checked November 10, 2026, not a hands-on test on an iPhone or Mac. You do not need to buy a blocker to try the manual setup.

Choose the adult-content option, not just “secure DNS”

Cloudflare distinguishes three services in its official address list:

  • Standard 1.1.1.1: no content filtering.
  • Families malware-only: 1.1.1.2 and 1.0.0.2. This is not the adult-content filter.
  • Families adult content and malware: 1.1.1.3 and 1.0.0.3.

The adult-content IPv6 addresses are 2606:4700:4700::1113 and 2606:4700:4700::1003. Use the matching Families addresses wherever you configure IPv6 DNS too. Do not deliberately mix an unfiltered resolver into the list as a “backup” if the goal is consistent filtering.

Set up DNS on iPhone: Wi-Fi is not cellular

Manual setup for one Wi-Fi network

  1. Save your existing DNS settings so you can restore them.
  2. Open Settings → Wi-Fi and tap the information button beside the connected network.
  3. Open Configure DNS → Manual.
  4. Replace editable existing server entries with 1.1.1.3 and 1.0.0.3. Add the matching IPv6 addresses above when configuring IPv6.
  5. Tap Save, then run the test below.

Cloudflare’s iOS instructions state that manual configuration is per Wi-Fi network and does not cover cellular.

If you need Wi-Fi and cellular coverage

If adult sites are blocked at home but still open on 4G or 5G, follow our iPhone mobile-data blocking guide to identify the filter’s scope, compare an on-device rule, and test each connection separately.

The same instructions document Cloudflare’s free 1.1.1.1: Faster Internet app. Follow its setup and VPN-profile consent prompts. In the app menu, open Advanced → Connection options → DNS settings → 1.1.1.1 for Families and choose the option that includes adult content. Connect it, then test Wi-Fi and cellular separately. The app’s name or a connected WARP status alone does not establish that you selected adult filtering.

Set up the adult-content DNS filter on Mac

Cloudflare’s macOS instructions apply to a selected network service, such as Wi-Fi or Ethernet:

  1. Record the existing DNS configuration before changing it.
  2. Open System Settings → Network.
  3. Select the service you use, then Details → DNS.
  4. Use the add control under DNS Servers to enter 1.1.1.3 and 1.0.0.3. Replace editable unfiltered entries rather than retaining them as alternatives.
  5. Add 2606:4700:4700::1113 and 2606:4700:4700::1003 for IPv6 DNS configuration.
  6. Select OK, then test. Check Ethernet separately if you also use it.

Do not change a work or school Mac’s managed settings without permission. If a setting is locked, use the administrator’s approved route rather than trying to override it. A browser result, not the presence of numbers in a settings screen, is the useful check.

Test filtering without opening an adult website

For a complete check across Apple rules, DNS categories, browsers, and connections, follow our safe porn-blocker test checklist. Cloudflare’s synthetic test is specific to its service, not a universal acceptance test for Screen Time, Nohub, or another provider.

Cloudflare provides a dedicated adult-category test address in its Families testing instructions: https://nudity.testcategory.com/. It is a provider test domain, not a request to search for explicit material.

  1. Open a fresh tab and visit that test address. Confirm access is blocked, rather than treating any error as proof of filtering.
  2. Check normal access. Open a harmless ordinary site such as https://example.com. If neither works, investigate connectivity first.
  3. Repeat per browser. Check Safari and other installed browsers, including any private-browsing route you use.
  4. Repeat per connection. On iPhone, compare Wi-Fi with cellular. On Mac, include another service or network if it is part of your routine.
  5. Keep a short record. Note the device, browser, connection, active VPN or relay settings, date, and result. Retest after relevant updates.

A passing category test confirms that test route at that moment. It does not prove that every adult domain is classified correctly. Cloudflare accepts domain categorization feedback for incorrect blocks or misses. Do not drop the whole filter just because one legitimate website needs investigation.

What can change the result?

A browser uses its own encrypted DNS provider

Review the browser’s Secure DNS or DNS over HTTPS setting. Cloudflare’s browser instructions distinguish the default resolver from Families. For a compatible custom DoH field, the adult-content endpoint is https://family.cloudflare-dns.com/dns-query, documented in the Families setup reference. A generic “Cloudflare” choice is not evidence of adult filtering. Repeat the category test in the actual browser instead of assuming it follows system DNS.

A VPN or iCloud Private Relay changes the browsing route

Test with the privacy tools you normally keep active. Apple documents that Private Relay can affect network-based filtering. If results differ, identify the conflicting route before deciding which control to use. Do not casually turn off privacy protections across the device: Apple notes that disabling Private Relay lets network providers and websites monitor Safari activity. A filter that works only after a privacy change has a trade-off, not a universal fix. Our Private Relay and adult-site blocking guide explains how to compare routes, check network-specific settings, and keep browsing privacy separate from filtering.

The unwanted material is inside an allowed domain

DNS chooses whether a domain name resolves. It does not inspect each video, message, or page path within an allowed service. If your problem is one feed or app, decide whether restricting that service is acceptable. For a named website rule instead, see blocking a specific website on iPhone. Search results are another surface; our SafeSearch guide separates search filtering from website blocking.

DNS privacy is not the same as content filtering

Typing DNS server IPs into network settings does not itself configure encrypted DNS. Review Cloudflare’s encryption options and resolver privacy commitments before choosing a route. The provider handles domain lookups; “free” is not a reason to skip that review. If ordinary browsing breaks after setup, restore the recorded configuration and troubleshoot before relying on the filter.

DNS, Screen Time, or Nohub?

  • Try DNS if you want domain filtering without configuring Screen Time and are comfortable checking network and browser scope.
  • Try Apple’s built-in controls if you want a free on-device website policy. Follow the free iPhone Screen Time guide or the Mac setup guide.
  • Compare Nohub if you want a focused adult-blocking app and a personal progress routine. Nohub uses Apple’s Screen Time framework; it is not a DNS service or an independent replacement for that framework.

This guide is published by Nohub. Its US App Store listing, checked November 10, 2026, confirms iPhone and Mac availability, requiring iOS 17.5+ and macOS 15+. Core blocking is free. On iPhone, optional Nohub Plus adds Commit mode and up to 50 custom blocked websites. Custom website blocking arrived in 2.1. Do not infer Mac Plus feature parity from iPhone release notes.

The listed US Plus options are $1.99 monthly, $12.99 yearly, and $34.99 Lifetime as a one-time purchase. Subscriptions renew automatically; prices and offers can differ by region. Core blocking does not require a subscription. Compare the free and Plus features or Mac product details before downloading.

Frequently asked questions

Does changing DNS on iPhone block porn on cellular data?

Not when you only change Configure DNS for a Wi-Fi network. That manual setting applies to that network, not cellular data. Cloudflare documents an iPhone app route for Wi-Fi and cellular; select its adult-content Families option and test both connections.

Does ordinary 1.1.1.1 block adult websites?

No. Cloudflare’s standard 1.1.1.1 resolver is unfiltered. Its adult-content Families resolver uses 1.1.1.3 and 1.0.0.3. The malware-only option is not the adult-content option.

Can DNS block one explicit page but keep the rest of a website?

DNS works with domain names, not individual page paths or posts. Do not use a domain-level filter as a promise to remove explicit material inside an otherwise allowed social network. Choose a more specific control and test both the unwanted page and useful content.

Prefer a focused adult-content blocker?

Review Nohub’s free core blocking and optional Plus features. If a free DNS filter or Apple’s built-in settings meet your needs, you can keep using them.

View Nohub on the App Store

iOS 17.5+ or macOS 15+. Check App Store compatibility