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.
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
- Right-click the Start button (the Windows logo at the bottom of the screen).
-
Click Settings.

- Click Network & internet in the left menu.
-
Click Wi-Fi (if you are on Wi-Fi) or Ethernet (if you are plugged in with a cable).

-
Click Hardware properties.

-
Click the Edit button next to DNS server assignment.

-
In the DNS dialog that opens, select Manual from the drop-down menu.

- Turn on the IPv4 toggle. (IPv4 is the standard address format most networks use.)
- In the 'Preferred DNS' field, enter 1.1.1.3.
- Set DNS over HTTPS to On (automatic template). This encrypts your DNS traffic so your ISP cannot see or override the filter.
- In the 'Alternate DNS' field, enter 1.0.0.3.
-
Set DNS over HTTPS to On (automatic template).

- Turn on the IPv6 toggle. (IPv6 is a newer address format. Skip this section if the toggle is greyed out.)
- In the 'Preferred DNS' field, enter 2606:4700:4700::1113.
- Set DNS over HTTPS to On (automatic template).
- In the 'Alternate DNS' field, enter 2606:4700:4700::1003.
-
Set DNS over HTTPS to On (automatic template).

- 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).
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)
References:
https://blog.cloudflare.com/introducing-1-1-1-1-for-families/