This guide is about choosing a protective resolver and putting it on the router. What DNS is, how speed works and the general privacy trade-offs are in our DNS servers guide, so they aren't repeated here. RouterHaus hasn't set these resolvers up on these routers hands-on; everything below comes from the providers' and makers' own pages, and RouterHaus doesn't rank one provider as best.
Why the router is the place for it, and what it can't do
Your router normally hands every device the DNS servers your internet provider gave it. eero, ASUS and UniFi all say that's their default. source 26 source 24 source 30 Change it there and phones, laptops, TVs, cameras and smart plugs all pick up the new resolver the next time they connect, with nothing to install on each one.
A protective resolver answers lookups for domains on its block list with a dead end instead of the real address. Cloudflare says that when "a queried domain is classified as malicious, Cloudflare returns the address 0.0.0.0 instead of the real address." source 3 Quad9 says it blocks lookups "of malicious host names from an up-to-the-minute list of threats." source 2 That's useful against phishing links, malware that calls home by name, and scam sites, and it costs little to turn on.
Know its limits before you rely on it:
- It only blocks what's on the list. A brand-new or uncategorized domain resolves normally until the provider adds it. Cloudflare asks people to report miscategorized domains, which tells you lists are maintained, not perfect. source 3
- Devices can go around it. eero sells filtering that intercepts every DNS request precisely "so users can't bypass eero Plus by changing DNS servers on their devices"; ordinary router DNS doesn't do that. source 26 GL.iNet's override option covers "unencrypted DNS settings for all clients," so a device or browser using its own encrypted DNS still goes its own way. source 29 CleanBrowsing says its adult filter "does not block proxy or VPNs." source 9
- It doesn't stop attacks that don't need a lookup. An exposed admin page, an unpatched router or a weak Wi-Fi password are separate problems. Our firewall settings checklist and router security settings by brand cover those.
- Encryption doesn't hide lookups from the resolver. Firewalla puts it plainly: encrypted DNS "will only hide your queries from ISPs, not DoH providers." source 31 Read the privacy column below with that in mind.
Protective resolvers compared
Each row is from that provider's own pages, read on December 3, 2026. "Free tier" and "paid plans" are as each provider describes them; RouterHaus doesn't list prices. Rows are in alphabetical order, not a ranking.
| Service | Addresses (IPv4; IPv6) | What it blocks | Free or paid | Encrypted DNS | Logging and privacy, as stated | Account |
|---|---|---|---|---|---|---|
| AdGuard DNS Default | 94.140.14.14, 94.140.15.15; 2a10:50c0::ad1:ff, 2a10:50c0::ad2:ff source 10 | "ads, tracking, and phishing"; its privacy policy adds malware domains. Family Protection (94.140.14.15, 94.140.15.16) adds adult sites and Safe Search source 10 source 12 | Free public servers; a separate private service with its own plans source 11 | DoH, DoT and DoQ source 10 | "We do not process any of your Personal Data" on public servers; keeps an anonymous list of domains from the last 24 hours source 12 | Not for public servers; required for private source 12 |
| CleanBrowsing Security Filter | 185.228.168.9, 185.228.169.9; 2a0d:2a00:1::2, 2a0d:2a00:2::2 source 9 source 36 | Phishing, spam, malware and malicious domains; "does not block adult content." Adult and Family filters add adult sites; Family also blocks proxy and VPN domains source 9 | Free and paid plans. The filters page lists the free service as throttled with no support; the setup guide says "No query limits" source 9 source 36 | DoH and DoT source 9 | "CleanBrowsing does not log or sell your DNS queries" (free filters) source 36 | Free: no; paid: yes source 9 |
| Cloudflare 1.1.1.1 | 1.1.1.1, 1.0.0.1; 2606:4700:4700::1111, 2606:4700:4700::1001 source 6 | Nothing: Cloudflare "does not block or filter any content" here source 4 | No plan or sign-up in its setup steps source 6 | Yes; Cloudflare's router page notes DoT on FRITZ!Box and OpenWrt source 6 | Deletes resolver logs within 25 hours; won't sell data or use it for ads; audited source 4 | No |
| Cloudflare 1.1.1.2 (Families, malware) | 1.1.1.2, 1.0.0.2; 2606:4700:4700::1112, 2606:4700:4700::1002 source 3 | Domains associated with malware and phishing source 3 | As above | DoH and DoT at security.cloudflare-dns.com source 3 | "the same privacy commitments as the standard 1.1.1.1 resolver" source 3 | No |
| Cloudflare 1.1.1.3 (Families, malware and adult) | 1.1.1.3, 1.0.0.3; 2606:4700:4700::1113, 2606:4700:4700::1003 source 3 | Malware, phishing and adult content source 3 | As above | DoH and DoT at family.cloudflare-dns.com source 3 | As above source 3 | No |
| Control D free (Malware preset) | 76.76.2.1, 76.76.10.1; 2606:1a40::1, 2606:1a40:1::1 source 37 | "known dangerous sites." The Family Friendly preset adds ads, trackers, adult content and drug sites source 15 | Free presets; paid plans for more filters source 15 | DoH, DoT and DoQ source 37 | "We don't log or store your DNS queries" source 15 | Not for the free resolvers source 37 |
| DNS4EU Protective | 86.54.11.1, 86.54.11.201; 2a13:1001::86:54:11:1, 2a13:1001::86:54:11:201 source 16 | Malware, phishing and command-and-control domains; variants add child protection or ad blocking source 16 | Free, for individuals in Europe only; not suited to organisations source 16 | DoH and DoT source 16 | Your IP address is "fully anonymised before being logged" source 16 | No source 16 |
| Google Public DNS (baseline) | 8.8.8.8, 8.8.4.4; 2001:4860:4860::8888, 2001:4860:4860::8844 source 17 | Not a filtering service; Google blocks names only under court or government orders in listed places source 18 | No plan in its docs | DoT and DoH source 17 | Temporary logs deleted within 24 to 48 hours; not used to target ads source 19 | No |
| NextDNS | No public address listed on the pages we read; settings belong to your own configuration source 13 | Malware, phishing, cryptojacking, newly registered and typosquatting domains, ads, trackers; parental controls source 13 | Free tier with a monthly allowance; paid plans. Over the free allowance it keeps answering "like a classic non-blocking DNS service" source 14 | DoH and DoT source 13 | You choose log retention, "from one hour up to two years," or turn logging off source 13 | "No signup required. Sign up later to save your settings" source 13 |
| OpenDNS FamilyShield (Cisco) | 208.67.222.123, 208.67.220.123; IPv6 not listed on the pages we read source 8 | "Preconfigured to block adult content" source 7 | Free source 7 | Not listed on the pages we read | Not covered on the pages we read | No source 7 |
| OpenDNS Home (Cisco) | 208.67.222.222, 208.67.220.220 source 7 | "customizable filtering and basic protection" source 7 | Free source 7 | Not listed on the pages we read | Not covered on the pages we read | Yes, sign-up source 7 |
| Quad9 (the service Quad9 labels "Recommended") | 9.9.9.9, 149.112.112.112; 2620:fe::fe, 2620:fe::9 source 1 | Malicious host names: "malware, phishing, spyware, and botnets." 9.9.9.11 adds ECS; 9.9.9.10 doesn't block, "for experts only" source 1 source 2 | Free, run by a not-for-profit foundation in Switzerland source 2 | DoH and DoT at dns.quad9.net source 1 | "no data containing your IP address is ever logged" in normal use source 2 | No source 2 |
Pick by need
Start from what you want blocked and how much you want to manage, then use the matching row above.
| If you want | Options from the table | What to check |
|---|---|---|
| Security blocking, nothing to manage | AdGuard Default, CleanBrowsing Security, Cloudflare 1.1.1.2, Control D Malware preset, DNS4EU Protective (Europe), Quad9 9.9.9.9 | Whether it also blocks ads (AdGuard Default does), if you'd rather it didn't |
| Family filtering for the whole house | AdGuard Family, CleanBrowsing Family or Adult, Cloudflare 1.1.1.3, Control D Family Friendly, DNS4EU child protection, OpenDNS FamilyShield | Whether it blocks VPN and proxy domains, which kids use to get around a filter (CleanBrowsing Family says it does) |
| A written logging policy you can check | Compare the logging column: every row except OpenDNS states a policy on the pages we read | Read the provider's full policy; encryption hides lookups from your internet provider, not from the resolver |
| Per-device rules, allow lists and logs you can read | NextDNS, OpenDNS Home, Control D paid plans, AdGuard private, CleanBrowsing paid plans | Free-tier limits (NextDNS stops filtering past its allowance) and whether you want a log kept at all |
| No filtering, as a baseline | Cloudflare 1.1.1.1, Google 8.8.8.8, Quad9 9.9.9.10 | These won't block anything; use them to compare speed or rule out the filter when a site won't load |
Where to set it, by router brand
Cloudflare notes the setting hides under different names: "WAN and IPv6 (Asus routers), IP (MikroTik routers), or Internet (Netgear routers)." source 6 If you can't reach your router's settings at all, start with our router login guide.
| Brand | Where the maker says to set DNS | What to know |
|---|---|---|
| NETGEAR | routerlogin.net, then Internet; under Domain Name Server (DNS) Address choose Use these DNS Servers, enter primary and secondary, Apply source 20 | The page shows two boxes; it doesn't describe IPv6 DNS source 20 |
| TP-Link router | tplinkwifi.net, Advanced, Network, Internet, then Use the following DNS addresses. DSL modem routers: Advanced, Network, LAN Settings source 21 | TP-Link says a reboot is needed after saving source 21 |
| TP-Link Deco | Deco app, More, Internet Connection, Internet Settings, DNS Address, Manual. If your model can't change WAN DNS, use More, Advanced, DHCP Server source 23 | Only from the owner account, on the Deco's Wi-Fi, in Router mode; no reboot needed source 23 |
| ASUS | Newer firmware: WAN, Internet Connection, WAN DNS Setting, DNS server, then Assign. Older firmware: set Connect to DNS server automatically to No source 24 | Expect a brief internet drop; check the result under Network Map, Internet Status source 24 |
| eero | eero app, Settings, Advanced networking, DNS, Custom DNS; IPv4 and IPv6 fields source 26 | Reboots the network. eero Plus filtering must be off first (Advanced Security, Ad Blocking, Content Filters), because it filters DNS itself source 26 |
| Google Nest Wifi, Google Wifi | Google Home app, Home, Wifi, Network settings, Advanced Networking, DNS; pick a public server or enter custom primary and secondary source 27 | Google says Nest Wifi and Google Wifi "operate as a DNS proxy" source 27 |
| Linksys Velop and mesh | Linksys app, menu, Advanced Settings, Local Network Settings, DNS Settings, Manual source 28 | Setting DNS manually turns off Linksys Safe Browsing, an OpenDNS feature: "You can only use one set of DNS servers" source 28 |
| Ubiquiti UniFi | UniFi Network, Settings, Internet, DNS Server; or per network under Networks, DHCP Service Management, DNS Server source 30 | The resolver must answer ui.com domains for updates and remote management; per-network changes apply as DHCP leases renew, "usually after 24 hours" source 30 |
| GL.iNet | Admin panel, NETWORK, DNS: Automatic, Encrypted DNS, Manual DNS or DNS Proxy source 29 | Turn on Override DNS Settings for All Clients to replace devices' unencrypted DNS settings; firmware v4.10 and earlier source 29 |
| Firewalla | Services, DNS over HTTPS; choose devices and servers, or Add Server for Cloudflare's filtering versions source 31 | Devices use the DoH server even if they have their own DNS set; not compatible with Family Protect in third-party mode; DNS Booster must be on source 31 |
| Synology | Not covered on the pages we read | Check Synology's SRM help for your model |
Provider gateways: when you can't change it
Many internet providers' combined modem-routers either hide DNS or lock it. Here's what each provider's own page says.
- T-Mobile Home Internet. "The DNS server configuration on the gateway itself is fixed," and T-Mobile gateways can't switch to bridge mode. T-Mobile says you can set DNS on connected devices, or connect your own router to the gateway's Ethernet port; you'll then see two Wi-Fi networks unless you turn the gateway's off in the T-Life app. source 35
- Spectrum. My Spectrum app, Services, Your WiFi Network, Advanced Settings, where Spectrum lists "DNS, UPnP, Port Forwarding" among the settings. source 34
- Verizon 5G Home (LVSKIHP gateway). Admin page, System Settings, LAN settings, DNS Server set to Manual. Verizon warns that advanced changes "may be harmful to the stability, performance and security" of the gateway. source 33 We didn't find a Verizon page on DNS for Fios routers.
- Xfinity. The pages we read don't describe changing DNS on the gateway. To use your own router, Xfinity says to turn on Bridge Mode, which turns off the gateway's routing; you lose network controls in the Xfinity app and Xfinity CyberSecure. source 32
- AT&T. We didn't find an AT&T page on changing gateway DNS. Use one of the two fallbacks below.
The fallbacks are the same for any locked gateway: set the protective resolver on each device, or put your own router behind the gateway and set it there. Our DNS guide covers where else DNS can be set. If the gateway won't let your router take over cleanly, compare options in our gateway rankings.
Encrypted DNS on the router
Plain DNS travels unencrypted between your router and the resolver. Some routers can encrypt that leg with DNS over TLS (DoT) or DNS over HTTPS (DoH). What it changes is explained in our encrypted DNS section; here's where makers document it.
- ASUS. Firmware later than 3.0.0.4.386.4xxxx: WAN, Internet Connection, DNS Privacy Protocol, DNS over TLS (DoT). Strict mode, the default, only uses a server whose identity checks out; Opportunistic mode uses it even if that check fails. source 25
- TP-Link Deco. Deco app, More, Advanced, DoH&DoT. Default Mode falls back to your regular DNS if the encrypted servers are unavailable; Secure Mode doesn't, so devices lose internet instead. source 22 Features vary by model.
- GL.iNet. Encrypted DNS mode with DoT and DoH for providers including Quad9, CleanBrowsing, AdGuard DNS, Cloudflare, Control D and NextDNS; DoQ for Control D, NextDNS and AdGuard DNS. source 29
- Firewalla. DNS over HTTPS under Services, per device. source 31
The choice between a fallback and a hard fail matters. A fallback keeps the internet up but can quietly drop the filter; a hard fail keeps the filter but takes the internet down with the resolver.
Check that it's working
- Confirm which resolver you're on. For Cloudflare, go to 1.1.1.1/help, which "runs a series of tests and shows whether your connection to 1.1.1.1 is working." source 5 For OpenDNS, its setup guide links a test page at welcome.opendns.com. source 8 ASUS shows the DNS server in use under Network Map, Internet Status. source 24
- Confirm blocking. Cloudflare's malware.testcategory.com "tests whether known malware domains are blocked." source 3 Quad9's home page lets you check whether a domain is on its block list, and Control D has a link checker for its filters. source 2 source 15
- Test on more than one device, including a phone on Wi-Fi with private DNS turned off, so you know the router setting, not the device, is doing the work.
- Check that browsing still feels normal. A resolver that's slow from your location makes every new page wait.
If sites stop loading entirely after the change, set DNS back to automatic and work through our DNS server not responding guide. If you suspect something already got in, see how to tell if your router was hacked.
When new equipment is justified
Every router maker whose pages we read documents a DNS setting. If yours has none, can't take IPv6 DNS, or no longer gets firmware updates (see router end-of-life support), it's missing more than DNS. Compare current models in our router rankings, and put your own router behind a locked provider gateway rather than living with it.
When to get professional help
A home can do this in a few minutes. A small office with its own DNS server, VPN users or several networks needs a plan so filtering doesn't break internal names or sign-ins; UniFi, for example, cautions that custom internal DNS may fail to resolve its own ui.com services. source 30 When the job needs hands on site, RouterHaus can connect you with a contractor, licensed where local rules require it, through a consultation request.
Frequently asked questions
What is the best DNS for security?
RouterHaus doesn't rank one as best. Quad9 9.9.9.9, Cloudflare 1.1.1.2, CleanBrowsing Security, AdGuard DNS, Control D and DNS4EU (for individuals in Europe) all say they block malware or phishing domains. Pick by what else you want, such as family filtering, a log you can read, or a particular privacy policy.
Is 1.1.1.1 the same as 1.1.1.2?
No. Cloudflare says 1.1.1.1 does not block or filter anything. 1.1.1.2 blocks domains associated with malware and phishing, and 1.1.1.3 also blocks adult content. Cloudflare says both follow the same privacy commitments as 1.1.1.1.
Should I set DNS on the router or on each device?
On the router when you can, because every device that connects picks it up, including smart TVs and cameras you can't configure. Set it on devices only when the gateway locks DNS, as T-Mobile says its gateways do, or for a device that leaves home.
Can I use one provider as primary and another as secondary?
You can, but if one filters and the other doesn't, devices that use the secondary skip the filter. Use both addresses of the same filtering service, plus its IPv6 addresses.
Will protective DNS slow my internet down?
It only affects the lookup before a connection starts, not download speed. Run Network Health before and after the change; if lookups got slower, try another address from the same provider or another resolver.
Does protective DNS replace antivirus or router updates?
No. It blocks known-bad domains when devices use it. Devices with their own encrypted DNS or a VPN can go around it, and it does nothing for an unpatched router or an exposed admin page.
Sources
Read on December 3, 2026. Pages without a date are marked undated.
- Quad9: Service Addresses & Features (undated)
- Quad9: home page (undated)
- Cloudflare: Set up 1.1.1.1 (May 6, 2026)
- Cloudflare: 1.1.1.1 Public DNS Resolver privacy (March 27, 2024)
- Cloudflare: Verify connection (April 30, 2026)
- Cloudflare: Router setup (May 1, 2026)
- Cisco OpenDNS: Home Internet Security (undated)
- Cisco OpenDNS: FamilyShield setup guide (undated)
- CleanBrowsing: Free DNS filters (undated)
- AdGuard DNS: Known DNS providers (undated)
- AdGuard DNS: Public DNS (undated)
- AdGuard DNS: Privacy policy (August 6, 2024)
- NextDNS: home page (undated)
- NextDNS: Pricing (undated)
- Control D: Free DNS (undated)
- DNS4EU: Public service (undated)
- Google Public DNS: Get started (September 3, 2024)
- Google Public DNS: Blocking behavior (December 2, 2025)
- Google Public DNS: Your privacy (September 3, 2024)
- NETGEAR: How do I set static DNS servers on my NETGEAR router? (July 7, 2025)
- TP-Link: FAQ 1712, changing DNS on a TP-Link router (April 17, 2026)
- TP-Link: FAQ 4254, DoH and DoT on Deco (October 17, 2024)
- TP-Link: FAQ 1855, changing DNS on Deco (May 26, 2026)
- ASUS: FAQ 1045253, DNS server settings on an ASUS router (July 22, 2024)
- ASUS: FAQ 1051428, DNS over TLS on an ASUS router (July 22, 2024)
- eero: How do I set up custom DNS servers with eero? (undated)
- Google: Change your DNS server (Nest Wifi and Google Wifi) (undated)
- Linksys: Configuring the DNS settings of your Linksys mesh system (undated)
- GL.iNet: DNS, Router Docs 4 (November 30, 2026)
- Ubiquiti: UniFi DNS Troubleshooting Guide (undated)
- Firewalla: DNS over HTTPS (DoH) (undated; updated in November 2026, per the page)
- Xfinity: Use Bridge Mode on your wireless gateway (undated)
- Verizon: 5G Internet Gateway (LVSKIHP), configure LAN settings (undated)
- Spectrum: Managing advanced settings with the My Spectrum app (undated)
- T-Mobile: Home Internet, connect your devices (undated)
- CleanBrowsing: How to set up CleanBrowsing's free DNS filters (undated)
- Control D: Free DNS resolvers (August 17, 2026)