
You don’t need to install a parental control program to block most adult websites. A family-safe DNS service filters websites before they load. It’s free, works with any browser and takes a few minutes to set up.
DNS turns website names into addresses. A family DNS server simply refuses to give out the address of known adult sites, so they fail to open.
Free family DNS servers
- Cloudflare for Families (blocks malware and adult content):
1.1.1.3and1.0.0.3 - OpenDNS FamilyShield:
208.67.222.123and208.67.220.123
Set family DNS on Windows 11
- Open Settings > Network & internet.
- Click Wi-Fi (or Ethernet) and then your connection’s properties, or open Hardware properties.
- Next to DNS server assignment, click Edit.
- Change Automatic (DHCP) to Manual, turn on IPv4.
- Enter one of the addresses above as Preferred DNS and the second as Alternate DNS.
- Click Save.
On Windows 10 the same option is in Settings > Network & Internet > Status > Properties > DNS settings > Edit.
Block adult sites for the whole home
To protect phones, tablets and consoles as well, enter the same DNS addresses on your router. Log in to your router’s admin page, look for the DNS settings under the internet or WAN section, replace the provider’s DNS with the family DNS addresses and save. Every device on your Wi-Fi then uses the filter.
Make the filter work properly
- Clear the DNS cache: open Command Prompt and run
ipconfig /flushdns. - Check browser DNS: browsers with secure DNS (DNS over HTTPS) can bypass your setting. In Chrome or Edge privacy settings, either turn secure DNS off or set it to the same family provider.
- Test it: Cloudflare and OpenDNS both have test pages that confirm the filter is active.
Frequently asked questions
Can DNS filtering block every adult website?
No filter is perfect. Family DNS blocks the large majority of known sites, but new sites, VPNs or changed settings can get around it. For children, combine it with Microsoft Family Safety and open conversations.
Does family DNS slow down the internet?
Usually not. Cloudflare and OpenDNS are fast public services, and browsing speed normally stays the same.


