How to block adult content websites on Windows 11

You can block adult content websites on Windows 11 by changing two DNS addresses in your network settings. No extra software or parental controls required.

DNS is the service that translates website names into addresses your PC can find. By pointing it to Cloudflare's family filter (a free service), every site you try to open gets screened first. Adult sites and known malware are blocked before they load.

ADVERTISEMENT

Why this method is good

The filter works at the network level, so it applies to every browser on the PC. No per-browser extensions needed.

Set up Cloudflare family DNS on Windows 11

  1. Right-click the Start button (the Windows logo at the bottom of the screen).
  2. Click Settings.
    Open settings in Windows 11
  3. Click Network & internet in the left menu.
  4. Click Wi-Fi (if you are on Wi-Fi) or Ethernet (if you are plugged in with a cable).
    Open Windows 11 network settings
  5. Click Hardware properties.
    Open Hardware properties
  6. Click the Edit button next to DNS server assignment.
    Edit DNS server assignment settings
  7. In the DNS dialog that opens, select Manual from the drop-down menu.
    Edit network DNS settings window
  8. Turn on the IPv4 toggle. (IPv4 is the standard address format most networks use.)
  9. In the 'Preferred DNS' field, enter 1.1.1.3.
  10. Set DNS over HTTPS to On (automatic template). This encrypts your DNS traffic so your ISP cannot see or override the filter.
  11. In the 'Alternate DNS' field, enter 1.0.0.3.
  12. Set DNS over HTTPS to On (automatic template).
    Set IPv4 to Cloudflare DNS
  13. Turn on the IPv6 toggle. (IPv6 is a newer address format. Skip this section if the toggle is greyed out.)
  14. In the 'Preferred DNS' field, enter 2606:4700:4700::1113.
  15. Set DNS over HTTPS to On (automatic template).
  16. In the 'Alternate DNS' field, enter 2606:4700:4700::1003.
  17. Set DNS over HTTPS to On (automatic template).
    Set IPv6 to Cloudflare DNS
  18. Click Save. The filter is now active. Open a browser and try visiting a known adult site to confirm it is blocked.

Before you save, confirm all four fields:

  • IPv4 → Preferred DNS: 1.1.1.3
  • IPv4 → Alternate DNS: 1.0.0.3
  • IPv6 → Preferred DNS: 2606:4700:4700::1113
  • IPv6 → Alternate DNS: 2606:4700:4700::1003

Each DNS over HTTPS toggle should read On (automatic template).

ADVERTISEMENT

Related:

How to block a website in Windows 10 and 11

Block websites with NextDNS: Chrome, Edge, Brave & Firefox

How to block a program from accessing the internet

How to unblock blocked websites (5 safe and free methods)


Windows


References:

https://blog.cloudflare.com/introducing-1-1-1-1-for-families/