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

  1. Right-click the Windows start menu button.
  2. Click Settings.
    Open settings in Windows 11
  3. Click Network & internet.
    Open Windows 11 network and internet settings
  4. Click Wi-Fi or Ethernet, depending on how your computer is connected to the internet.
    Open Windows 11 network settings
  5. If your PC is connected to the internet via Wi-Fi, click the properties settings.
    Open wifi network properties
  6. Click the Edit button next to DNS server assignment.
    Edit DNS server assignment settings
  7. In the next window, select Manual.
    Edit network DNS settings window
  8. Enable IPv4.
    Enable IPv4
  9. In the 'Preferred DNS' field, enter 1.1.1.3.
    Preferred DNS
  10. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Preferred DNS
  11. In the 'Alternate DNS' field, enter 1.0.0.3.
    Alternate DNS
  12. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Alternate DNS
  13. Enable IPv6.
    Enable IPv6
  14. In the 'Preferred DNS' field, enter 2606:4700:4700::1113.
    Preferred DNS for IPv6
  15. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Preferred DNS for IPv6
  16. In the 'Alternate DNS' field, enter 2606:4700:4700::1003.
    Alternate DNS for IPv6
  17. Set DNS over HTTPS to On (automatic template).
    Enable DNS over HTTPS for Alternate DNS for IPv6
  18. Click Save.
    Save DNS settings

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)


Windows


References:

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