Block Adult Content Using DNS at Your Router
Configure your router's DNS settings to filter adult and inappropriate content across all connected devices on your home network.
Overview
DNS (Domain Name System) filtering at the router level is one of the most effective ways to block adult and inappropriate content across all devices on your home network—phones, tablets, computers, and gaming consoles—without installing software on each device individually.
By changing your router's DNS servers to family-safe alternatives, you create a network-wide filter that works whether devices are on Wi-Fi or (in some cases) connected via Ethernet.
Before You Start
- Access your router's admin panel. You'll need the router's IP address (usually printed on the back or bottom of the device) and your admin password.
- Recommended family-safe DNS services:
- Cloudflare for Families (1.1.1.3 and 1.0.0.3) — blocks malware and adult content
- OpenDNS Home (208.67.222.123 and 208.67.220.123) — highly customizable filtering
- Quad9 (9.9.9.9 and 149.112.112.112) — blocks malware and adult sites
- Google SafeSearch DNS (8.8.8.8 and 8.8.4.4) — basic safe search enforcement
- Note: This guide covers the general process. Exact menu locations vary by router manufacturer (TP-Link, Netgear, Linksys, etc.).
How to Change DNS at Your Router
Step 1: Access Your Router's Admin Panel
- Open a web browser on a computer or mobile device connected to your home network.
- Type your router's IP address into the address bar. Common defaults are:
192.168.1.1192.168.0.110.0.0.1
- Press Enter. You should see a login screen.
- Enter your router's admin username and password. (Check the router's label or your ISP documentation if you haven't changed these.)
- Click Login or Sign In.
Step 2: Navigate to DNS Settings
- Once logged in, look for a section labeled Settings, Advanced, or Internet Settings.
- Find the option for DNS or DNS Server. Depending on your router, this might be under:
- WAN Settings → DNS
- Internet → DNS Configuration
- Network Settings → DNS
- Click or select this option.
Step 3: Replace the Default DNS Servers
- Look for two fields labeled Primary DNS (or DNS 1) and Secondary DNS (or DNS 2). You may see your ISP's DNS addresses already filled in.
- Clear the Primary DNS field and enter your chosen family-safe DNS:
- Cloudflare:
1.1.1.3 - OpenDNS:
208.67.222.123 - Quad9:
9.9.9.9
- Cloudflare:
- Clear the Secondary DNS field and enter the backup address:
- Cloudflare:
1.0.0.3 - OpenDNS:
208.67.220.123 - Quad9:
149.112.112.112
- Cloudflare:
- Click Save or Apply.
Step 4: Reboot Your Router (Optional but Recommended)
- Navigate to System or Device Settings in your router's admin panel.
- Look for Reboot or Restart Router.
- Click Reboot. The router will restart, and DNS filtering will take effect across all devices on your network.
- Wait 2–3 minutes for the router to fully restart.
Verify the Filter Is Working
- On a child's device, open a web browser.
- Try visiting a known adult content website. The request should be blocked with a message stating the site is restricted or unavailable.
- If the site loads normally, return to your router's admin panel and double-check that the DNS addresses were saved correctly.
Advanced Options
OpenDNS Customization
If you're using OpenDNS, you can create a free account and customize exactly what categories to block:
- Visit opendns.com and create a free account.
- Add your home router's public IP address to your account.
- Log in to your OpenDNS dashboard and adjust filtering categories (adult sites, gambling, social media, etc.) to your preferences.
- Changes sync to your router within 10–30 minutes.
DHCP-Level DNS Configuration
Some routers allow you to set DNS at the DHCP level, which ensures all devices receive the family-safe DNS automatically:
- In your router's admin panel, navigate to DHCP or LAN Settings.
- Look for DHCP DNS or DNS Server for DHCP Clients.
- Enter the same family-safe DNS addresses here as backup enforcement.
Troubleshooting
- A website still loads: Not all adult sites are on every DNS filter's list. Consider using OpenDNS for more granular control, or use a secondary solution (parental control app) for additional devices.
- Devices can't access the internet: Double-check that you didn't accidentally delete a required field or mistype an address. Restore your ISP's original DNS servers if needed.
- Some apps stop working: A small number of apps bypass DNS filtering or rely on specific DNS servers. Try whitelisting the app's required domain in your OpenDNS account, or use your ISP's original DNS as a secondary fallback.
Do This Tonight · 20 min
Set up DNS filtering at your router now. It's one-time work that protects all devices automatically, and you can always adjust or disable it in the router's settings.
Related Tips
- Combine with device-level controls: Use router DNS filtering as your primary tool, then add app restrictions and screen time limits on individual devices for layered protection.
- Update router firmware: Before changing DNS settings, check your router manufacturer's website for the latest firmware update to ensure security and stability.
- Document your admin password: Store your router's admin credentials securely so you can modify settings if needed later.
Last updated · 4/21/2026