What Is DNS Filtering? A Family Internet Safety Guide

DNS filtering for families blocks malware and adult sites before they load. Compare Cloudflare, OpenDNS and CleanBrowsing, and set it up on your router fast.

By Galactic News Editorial · Published 2026-11-22T07:33:41+00:00 · Updated 2026-11-22T07:33:41+00:00

DNS filtering for families guide with free services and router setup

DNS filtering blocks harmful websites before they load. It works at the network level, so it covers every device in the house. DNS filtering for families is one of the cheapest safety steps a parent can take. The main services are free. Setup takes minutes on a router. This guide explains how it works, compares the free options, and shows how to set it up without breaking the home network.

What is DNS filtering?

DNS is the internet's phone book. Every time a device visits a website, it asks a DNS resolver to turn the domain name into an IP address. A filtered DNS resolver checks that name against a blocklist first. If the domain is linked to malware, phishing, or adult content, the resolver refuses to answer. The site never loads.

Cloudflare explains the mechanism plainly. When a queried domain is classified as malicious, its 1.1.1.1 for Families resolver returns the address 0.0.0.0 instead of the real address. The browser shows an error page. Nothing is downloaded. The block happens before any content reaches the device.

DNS filtering works on whole domains, not single pages. It cannot judge the content of one page inside a safe site. It cannot see inside encrypted HTTPS traffic. It blocks the address lookup, not the content itself. That limit matters. A filter is a first layer, not a complete parental control system.

How DNS filtering for families works

Family DNS services keep blocklists of domains in risky categories. The main categories are malware, phishing, and adult content. Some services also block proxies and anonymizers. Some enforce SafeSearch on search engines. Some force YouTube Restricted Mode.

The filter applies wherever you set it. Set it on the router and every device on home Wi-Fi is covered. Set it on a single device and only that device is covered. Phones and tablets need their own settings. They leave the home network and use mobile data. Android supports Private DNS for this. iPhones need manual DNS settings per Wi-Fi network or a configuration profile.

Free family DNS services use fixed presets. There are no allow lists, no schedules, and no per-child profiles on the free tiers. Paid services add dashboards, custom blocklists, and schedules. Start with a free preset. Upgrade only if you need custom rules.

Free family DNS services compared

ServicePrimary DNSSecondary DNSBlocksPrice
Cloudflare for Families (malware + adult)1.1.1.31.0.0.3Malware, phishing, adult content; forces SafeSearchFree
Cloudflare for Families (malware only)1.1.1.21.0.0.2Malware and phishing onlyFree
OpenDNS FamilyShield208.67.222.123208.67.220.123Adult content, proxies and anonymizersFree
CleanBrowsing Family185.228.168.168185.228.169.168Adult content, proxies, VPNs; enforces SafeSearch and YouTube Restricted ModeFree

Cloudflare for Families is the simplest choice. The addresses are short and easy to type. The service is fast and needs no account. OpenDNS FamilyShield is the oldest option. It is free with no account and no dashboard. CleanBrowsing Family goes further. It enforces SafeSearch and YouTube Restricted Mode automatically. That makes it the strongest free preset for younger children.

Use both addresses from the same provider. Mixing a filtering primary with an unfiltered secondary creates a bypass. Devices will use the secondary address when the primary is slow. They will reach unfiltered results through it. Keep the pair matched.

How to set up DNS filtering for families

Set it on the router first. That covers every device at once. The steps vary by router brand. The pattern is the same everywhere.

  1. Open the router admin page in a browser. The address is often 192.168.1.1 or 192.168.0.1. Check the label on the router if neither works.
  2. Sign in with the router administrator password. Change the default password if you have never changed it.
  3. Find the DNS settings. They are usually under Internet, WAN, or DHCP settings. On mesh systems, they are in the app.
  4. Write down the existing DNS addresses before replacing them. You need them if you ever want to undo the change.
  5. Enter the two addresses for your chosen service. Use the malware-and-adult pair for a family setup.
  6. Set the IPv6 DNS addresses too, or turn off IPv6 DNS. A device can bypass the filter through IPv6 if you skip this step.
  7. Save the settings. Restart the router or reconnect devices so they pick up the new DNS.

Next, cover the devices that leave the house. On Android 9 or newer, open Settings, then Network and internet, then Private DNS. Choose the private DNS provider option. Enter the hostname for your chosen service. CleanBrowsing publishes family-filter-dns.cleanbrowsing.org for its family filter. Cloudflare publishes family.cloudflare-dns.com for its family filter.

On iPhone or iPad, open Settings, then Wi-Fi, then the info icon beside your network. Tap Configure DNS, switch to Manual, and add the primary and secondary addresses. Repeat this for each Wi-Fi network the child uses. On Windows, open Settings, then Network and internet, then your connection. Edit the DNS server assignment to Manual and enter the addresses.

How to test that the filter works

Cloudflare publishes test pages for its service. Visiting the malware test page should show a blocked result. Visiting the adult-content test page should also fail to load on the family filter. OpenDNS and CleanBrowsing offer similar welcome pages. Test from a child's device, not just your own. Test on Wi-Fi and on mobile data. Both paths need to be covered.

If a test page loads when it should be blocked, check the settings. The most common cause is a mismatched secondary DNS. Another common cause is IPv6 still pointing at the ISP resolver. A third cause is a browser using its own DNS-over-HTTPS setting. Some browsers ignore the system DNS by default. Check the browser's secure DNS setting and set it to use the system resolver or your chosen provider.

What DNS filtering cannot do

DNS filtering does not inspect page content. It cannot block a single inappropriate video on an otherwise safe site. It cannot block content inside apps that use their own servers. It cannot enforce screen-time limits or bedtime schedules. It has no child profiles.

Determined teenagers can bypass it. A VPN app tunnels past the DNS resolver. Changing the DNS settings on a device restores unfiltered access. Mobile data bypasses a router-only setup. That is why the filter must sit alongside device controls, not instead of them.

Layer the controls. Turn on SafeSearch in Google and Bing. Turn on YouTube Restricted Mode. Use Screen Time on iPhone and iPad. Use Family Link on Android. Use Microsoft Family Safety on Windows. Each layer covers a gap the others miss. No single layer is enough on its own.

Common mistakes to avoid

Talk to your children about what the filter does. Explain that it blocks harmful sites automatically. Explain that it is not a punishment. Older children should know why the limits exist. A filter works best when the child understands the reason for it.

Bottom line

DNS filtering for families is a free, fast first layer of internet safety. Cloudflare for Families at 1.1.1.3 is the simplest start. CleanBrowsing Family is the strongest free preset because it enforces SafeSearch and YouTube Restricted Mode. OpenDNS FamilyShield is the classic no-account option. Set it on the router, cover mobile devices separately, test it, and layer device controls on top. The filter will not do the whole job alone. It will make the rest of the job much easier.