DNS Filtering Setup Guide
Learn how to set up DNS filtering to block inappropriate content at the network level using services like OpenDNS, CleanBrowsing, and NextDNS.
Prerequisites:
- โข Access to your device's network settings or router admin panel
- โข Basic understanding of your home network setup
What is DNS Filtering?
DNS (Domain Name System) filtering is one of the most effective and easiest ways to protect your entire network from inappropriate content. DNS acts like the internet's phone book, translating website names (like google.com) into IP addresses that computers can understand.
By using a filtering DNS service instead of your default ISP's DNS, you can automatically block access to millions of inappropriate websites before they even load. This works across all devices on your network without installing any software.
๐ Comparing DNS Filtering Services
Here are the most popular DNS filtering services for family protection:
Service | Cost | Filtering Levels | Custom Lists | Best For |
---|---|---|---|---|
OpenDNS Home | Free | 3 levels | โ (with account) | Families wanting free, reliable filtering |
CleanBrowsing | Free + Paid ($5/mo) | 3 free levels, custom in paid | โ (paid only) | Families with varied filtering needs |
NextDNS | Free (300k queries/mo) then $2/mo | Highly customizable | โ (extensive) | Tech-savvy users wanting control |
Cloudflare for Families | Free | 2 levels (malware, malware+adult) | โ | Basic filtering with privacy focus |
Quad9 | Free | Security focus | Limited | Security-first, basic filtering |
๐ Setup Methods
You can set up DNS filtering in two ways:
- Device-Level: Configure DNS on each device individually. Protection travels with the device.
- Router-Level: Configure DNS once at your router. All devices on your network are automatically protected.
๐ Router-Level Setup (Protects All Devices)
DNS Server Addresses
First, choose a DNS service and note its server addresses:
OpenDNS Home (FamilyShield)
208.67.222.123
208.67.220.123
CleanBrowsing (Family Filter)
185.228.168.168
185.228.169.168
Cloudflare for Families (Malware & Adult)
1.1.1.3
1.0.0.3
Configuration Steps
- Access your router's admin panel
Open a web browser and type your router's IP address (usually
192.168.1.1
or192.168.0.1
). Check the sticker on your router if unsure. - Log in with your admin credentials
Use the username and password printed on your router or the ones you set during initial setup. Common defaults:
admin/admin
oradmin/password
. - Find the DNS settings
Look for sections labeled "Internet", "WAN", "DNS", "Network Settings", or "DHCP Settings". The exact location varies by router brand.
- Change the DNS servers
Replace the existing DNS server addresses with your chosen filtering DNS addresses. Enter the Primary and Secondary DNS addresses.
- Save and reboot
Save your changes and reboot your router for the changes to take effect. Most routers will do this automatically.
- Restart your devices
For immediate effect, restart your connected devices or disconnect/reconnect from WiFi.
๐ฑ Device-Level Setup
Windows 10/11
- Open Settings โ Network & Internet
- Click your connection (WiFi or Ethernet)
- Click "Edit" next to IP assignment
- Choose "Manual" and enable IPv4
- Enter the DNS addresses in "Preferred DNS" and "Alternate DNS"
- Click Save
macOS
- Open System Settings (or System Preferences)
- Go to Network
- Select your connection and click Details (or Advanced)
- Click the DNS tab
- Click the + button and add both DNS addresses
- Click OK and Apply
iPhone & iPad (iOS/iPadOS)
- Open Settings โ WiFi
- Tap the (i) button next to your network
- Scroll down and tap "Configure DNS"
- Tap "Manual"
- Remove existing servers and add the new DNS addresses
- Tap Save
Android
- Open Settings โ Network & Internet (or Connections)
- Tap WiFi and long-press your network
- Tap "Modify Network" or "Manage Network Settings"
- Show Advanced Options
- Change IP Settings to "Static"
- Enter the DNS addresses in DNS 1 and DNS 2 fields
- Save changes
family-filter.cleanbrowsing.org
).โ Testing Your Setup
After configuring DNS filtering, verify it's working properly:
- Check your DNS server
Visit dnsleaktest.com or whatsmydns.net to confirm you're using the correct DNS servers.
- Test filtering
Try visiting a test blocked site. Most DNS providers have test domains. For example, OpenDNS uses
internetbadguys.com
. You should see a block page. - Test normal browsing
Make sure legitimate websites load properly. Test a few popular sites to ensure nothing is over-blocked.
๐ง Advanced Configuration
Creating a Free OpenDNS Account
- Sign up at signup.opendns.com
- Add your home network (it will detect your IP address)
- Customize filtering levels and categories
- Add individual sites to allow or block
- View browsing statistics and logs
NextDNS Custom Configuration
- Create account at nextdns.io
- Set up a configuration profile
- Choose blocklists (ads, trackers, adult content, gambling, etc.)
- Add custom allow/block lists
- Use your unique DNS addresses provided
- Review detailed analytics and query logs
โ Troubleshooting Common Issues
Websites are loading very slowly
Solution: The DNS server might be too far from your location. Try a different DNS service or use your ISP's DNS as secondary.
Some sites are over-blocked
Solution: Create an account with your DNS provider and add the sites to your allow list. Or switch to a less restrictive filtering level.
Filtering isn't working
Solution: Clear your device's DNS cache. Windows: ipconfig /flushdns
, Mac: sudo dscacheutil -flushcache
, or restart the device.
Works at home but not on mobile data
Solution: DNS filtering set at the router only works on your home network. Configure DNS on the device itself or use a DNS profile/VPN for cellular protection.
Someone bypassed the filtering with VPN
Solution: DNS filtering can be bypassed by VPNs or alternative DNS apps. Combine with device restrictions to block VPN apps, or use router-level VPN blocking.
โ๏ธ Pros & Cons of DNS Filtering
โ Advantages
- Protects all devices on your network automatically
- No software to install on each device
- Free options available
- Very easy to set up (15-30 minutes)
- Blocks sites before they load (faster and safer)
- Works across all apps and browsers
- Minimal performance impact
- Can be configured on devices for mobile protection
โ Limitations
- Doesn't work on mobile/cellular data (unless configured per device)
- Can be bypassed by changing DNS settings (combine with device restrictions)
- Can be bypassed with VPNs
- No time limits or scheduling
- Basic reporting (unless using paid plans)
- Doesn't filter HTTPS content within sites
- May occasionally over-block legitimate content
- Doesn't control apps or screen time