Key takeaways
- Best DNS for routers: Cloudflare, Google, Quad9 and more — how to pick faster, more private DNS settings for your home router.
As an Amazon Associate we earn from qualifying purchases.
The best DNS for routers is a fast, reliable DNS service that you set once on the router so every device in the home benefits from it, without changing settings on each phone, laptop and console. DNS translates the names you type, such as a website address, into the numeric addresses that the internet uses, and a slow or unreliable DNS service adds a delay to every new connection.
Most routers use the DNS servers of the internet provider by default, and those servers are often slower and less private than the public alternatives. Changing the router DNS to a public service such as Cloudflare, Google or Quad9 can make websites feel quicker to load, add filtering for malicious sites, and reduce how much browsing data the provider sees. The change is free, it takes a few minutes, and it can be reversed just as easily.
This guide explains how router DNS works, compares the leading public DNS services, and shows how to choose the right one for your home. There are no hardware picks here, because DNS is a service setting, not a product, and no purchase is needed to use any of the services below.
How to Choose
1. Speed and latency
DNS speed is measured by how quickly the server answers a lookup, and a few milliseconds matter when a page needs dozens of lookups. The fastest service for your location depends on the network path from your home to the server, so compare two or three services with a DNS benchmark tool and pick the one with the lowest latency from your connection.
2. Privacy policy
A DNS service sees every domain your household looks up, so its privacy policy matters. Check how long the service keeps query logs, whether it sells data, and whether it has been independently audited. Services that delete logs within a day and publish audit results are the safer choice for a household that values privacy.
3. Security and filtering
Some DNS services block known malicious domains, phishing sites and malware, which adds a layer of protection for every device in the home. Others offer family filtering that blocks adult content, which is useful for a household with children. Decide whether you want plain DNS, security filtering or family filtering before choosing.
4. Reliability and uptime
A DNS service that goes down takes the whole home offline, because no device can resolve a website name. Choose a service with a large, distributed network and a strong uptime record, and always set a secondary DNS address from the same provider or a different one, so a single outage does not break the connection.
5. Encrypted DNS support
Encrypted DNS, using DNS over TLS or DNS over HTTPS, stops the provider and others on the network from seeing which domains you look up. Check whether your router supports encrypted DNS and whether the service offers it, because not every router can use it. When the router does not support encryption, the DNS service still works over plain DNS.
6. Content filtering options
A DNS service with filtering lets you block categories of sites for the whole home, which is simpler than setting filters on each device. Check whether the service offers a free filtering tier, how the categories are defined, and whether the filtering can be turned off easily when an adult needs access to a blocked site.
7. Ease of setup
Changing router DNS should take a few minutes: log in to the router admin page, find the DNS settings, enter the primary and secondary addresses, save and reboot the router. Check that your router lets you change DNS, because some provider-supplied routers lock the setting, and confirm the change with a DNS leak check after saving.
Top Picks
1. Cloudflare DNS
Cloudflare DNS, at 1.1.1.1, is the fastest public DNS service for most homes and the best all-round pick. It is known for very low latency, a clear privacy policy that deletes logs within a day, and an independent audit of its data handling. It offers a plain service at 1.1.1.1, a security-filtering service that blocks malware, and a family service that blocks adult content as well.
It suits almost every home, and it is the first service to try when you change router DNS. Its secondary address is 1.0.0.1, and its encrypted DNS support covers both DNS over TLS and DNS over HTTPS on routers that support them.
The main caveat is that its speed advantage depends on your location, so compare it with the other services from your own connection. Its family filtering is also less configurable than a dedicated parental control service, so a household that needs detailed filtering rules may want a more specialised option.
2. Google Public DNS
Google Public DNS, at 8.8.8.8, is the oldest and most widely used public DNS service, and it is the best pick for reliability. Its huge, distributed network gives it excellent uptime, and its long history means it is widely used on every router and every device. It offers a plain service with no filtering, which suits users who want speed and reliability without content blocking.
It suits a home that values uptime above all else, or a user who has had trouble with a less established service. Its secondary address is 8.8.4.4, and it supports encrypted DNS on routers that offer it.
The caveat is privacy. Google is an advertising company, and its DNS privacy policy is less strict than Cloudflare’s, with logs kept for longer. Users who value privacy over brand familiarity should prefer Cloudflare or Quad9.
3. Quad9
Quad9, at 9.9.9.9, is the best pick for security. It blocks known malicious domains, phishing sites and malware by checking lookups against threat intelligence feeds, which adds a layer of protection for every device in the home without any software to install. It is run by a non-profit foundation, and its privacy policy is strong, with no logging of the addresses that make queries.
It suits a home that wants security filtering without complexity, and it is a good choice for a household with many devices that cannot each run security software. Its secondary address is 149.112.112.112, and it supports encrypted DNS.
The caveat is speed. Quad9 is sometimes slower than Cloudflare or Google from some locations, because its network is smaller. Test it from your own connection and compare the latency before committing to it.
4. OpenDNS
OpenDNS, now part of Cisco, is the best pick for family filtering and control. Its free tier offers basic filtering, while its paid Home plan adds category blocking, custom allow and block lists, and usage statistics for the household. It is the most configurable DNS filtering service available without buying extra hardware.
It suits a household with children that wants to block adult content and other categories for the whole home, with a dashboard that shows what was blocked and why. Its primary address is 208.67.222.222 and its secondary is 208.67.220.220.
The caveat is that its plain service is slower than Cloudflare from many locations, and its best features need a paid plan. Its privacy policy is also less strict than Cloudflare or Quad9, because it keeps logs to power its filtering and statistics.
5. AdGuard DNS
AdGuard DNS is the best pick for blocking ads and trackers at the network level. Its default service blocks known ad and tracker domains, which can make pages load faster and reduce tracking across every device in the home, including smart TVs and phones that cannot run an ad blocker. It also offers a family service with adult content blocking.
It suits a home that wants ad blocking without installing software on each device, and it is a good companion to a browser ad blocker for the devices that support one. Its primary address is 94.140.14.14 and its secondary is 94.140.15.15, and it supports encrypted DNS.
The caveat is that network-level ad blocking can break some sites and apps that depend on ad domains, so a few services may need allow-listing. Its network is also smaller than Cloudflare or Google, so check the latency from your connection before committing.
Comparison Table
| DNS Service | Primary Address | Secondary Address | Filtering | Privacy | Best For |
|---|---|---|---|---|---|
| Cloudflare DNS | 1.1.1.1 | 1.0.0.1 | Optional | Very strong | Most homes, speed |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | None | Moderate | Reliability |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Security | Strong | Security |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Family, categories | Moderate | Family filtering |
| AdGuard DNS | 94.140.14.14 | 94.140.15.15 | Ads, trackers | Strong | Ad blocking |
Which One Is Right for You?
For most homes, Cloudflare DNS is the right choice, because it is fast, private and offers optional filtering without complexity. For a home that values uptime above all else, Google Public DNS is the most reliable option. For a home that wants security filtering for every device, Quad9 adds malware blocking with a strong privacy policy. For a household with children, OpenDNS offers the most configurable family filtering. For a home that wants ads and trackers blocked at the network level, AdGuard DNS is the pick.
Compare two or three services from your own connection before deciding, because the fastest service depends on your location and your provider. Set the primary and secondary addresses on the router, reboot it, and confirm the change with a DNS leak check. Keep a note of the original provider DNS settings so you can reverse the change if anything breaks.
Frequently Asked Questions
How do I change the DNS on my router?
Log in to the router admin page, usually at 192.168.1.1 or 192.168.0.1, find the DNS settings under the internet or WAN section, enter the primary and secondary addresses of the service you chose, save the settings and reboot the router. Every device in the home will then use the new DNS without any change on the device itself.
Will changing router DNS make my internet faster?
It can make websites feel quicker to load, because a fast DNS service answers lookups sooner than a slow one. It does not increase the speed of the internet plan or the download speed, so a slow plan will still be slow. The benefit is in the time to load the first page and in the responsiveness of browsing.
Is it safe to use a public DNS service?
Yes, for the services in this guide. They are run by large, established organisations with clear privacy policies, and they are used by millions of homes. Check the privacy policy of any service before using it, and avoid unknown DNS services that offer no information about logging or data handling.
What should I do when a site stops working after changing DNS?
First, check whether the site works with the original provider DNS by reverting the router setting. When the site works with the provider DNS but not with the new service, the new service may be blocking it, or the service may be having an outage. Try a different DNS service, or add the site to the allow list when the service offers filtering controls.
FAQ
Which One Is Right for You?
How do I change the DNS on my router?
Will changing router DNS make my internet faster?
Is it safe to use a public DNS service?
What should I do when a site stops working after changing DNS?
More from Amazon
Programs that pair well with the guide above. Offers and eligibility are set by Amazon and may change.
Free shipping on eligible items, Prime Video and more. Eligible new members can start with a free trial.
Start a Prime free trialAd-free music streaming. Eligible new subscribers can start with a free trial.
Try Music Unlimited freeA Prime membership for ages 18-24 with a trial period. Eligibility is set by Amazon.
See Prime for Young AdultsAudiobooks and podcasts to listen to on the go. Eligible new members can start with a free trial.
Try Audible freeAs an Amazon Associate we earn from qualifying purchases.