How to block adult content websites on Windows 11
Keeping your computer safe from inappropriate content shouldn't be a headache. Whether you're setting up a PC for a child or just want a cleaner browsing experience for yourself, you can secure your system in minutes.
You can effectively restrict access to adult content websites on Windows 11 without relying on third-party software or Microsoft Family Safety parental controls. By simply changing two numbers in your network settings—the primary and secondary DNS addresses—you can use Cloudflare's free service to automatically filter out adult websites and malware. It’s one of the simplest ways to safeguard your PC.
🛡️ Why this method is good
This method blocks adult content sites across every browser (Chrome, Edge, Firefox, etc.) installed on your PC. Since the change happens at the system level, you don't need to waste time installing separate filtering extensions for each browser.
How to block adult content websites on Windows 11
- Right-click the Windows start menu button.
-
Click Settings.

-
Click Network & internet.

-
Click Wi-Fi or Ethernet, depending on how your computer is connected to the internet.

-
If your PC is connected to the internet via Wi-Fi, click the properties settings.

-
Click the Edit button next to DNS server assignment.

-
In the next window, select Manual.

-
Enable IPv4.

-
In the 'Preferred DNS' field, enter 1.1.1.3.

-
Set DNS over HTTPS to On (automatic template).

-
In the 'Alternate DNS' field, enter 1.0.0.3.

-
Set DNS over HTTPS to On (automatic template).

-
Enable IPv6.

-
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.

Related:
How to block a website in Windows 10 and 11 (step by step)
Block websites with NextDNS: Chrome, Edge, Brave & Firefox
How to block a program from accessing the internet on Windows
How to unblock blocked websites (9 easy ways)
References:
https://blog.cloudflare.com/introducing-1-1-1-1-for-families/