Your DNS server is like the phone book of the internet — it converts domain names (like "google.com") into IP addresses. Your ISP's default DNS is often slow and privacy-invasive. Switching to a faster DNS takes 2 minutes and can noticeably improve how quickly websites load.
What Is DNS and Why Does It Affect Speed?
Every time you visit a website, your device performs a DNS lookup — asking a server for the IP address of a domain such as mydevicescan.com. This happens before the page even starts loading. If your DNS server is slow, every page load has extra delay built in, regardless of how fast your actual internet connection is.
ISP DNS servers are often overloaded and slow, with lookup times of 50–200ms. Fast DNS servers like Cloudflare 1.1.1.1 typically resolve in 5–15ms — a 10x improvement that's immediately noticeable.
Best Free DNS Servers in 2026
| Provider | Primary DNS | Secondary DNS | Speed | Privacy |
|---|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | 🏆 Fastest | ✅ Strong |
| 8.8.8.8 | 8.8.4.4 | ⚡ Very Fast | ⚠️ Collects data | |
| Quad9 | 9.9.9.9 | 149.112.112.112 | ⚡ Fast | ✅ Strong + Malware blocking |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | ⚡ Fast | ⚠️ Cisco-owned, logs queries |
| AdGuard DNS | 94.140.14.14 | 94.140.15.15 | ✅ Good | ✅ Ad blocking included |
| ISP Default | Varies | Varies | 🐢 Slow | ❌ Often monitors traffic |
Cloudflare 1.1.1.1 — Best Overall
Cloudflare's DNS is consistently the fastest in global benchmark tests. It's operated by the same company that powers this speed test, with servers in 275+ cities worldwide. Cloudflare commits to never selling your DNS query data and deletes logs within 24 hours.
Use 1.1.1.1 as primary and 1.0.0.1 as secondary. For the best security, use 1.1.1.2 (malware blocking) or 1.1.1.3 (malware + adult content blocking).
Google 8.8.8.8 — Best Reliability
Google Public DNS has massive redundancy and near-zero downtime. Speed is excellent globally. The trade-off is privacy — Google uses DNS query data to improve its advertising products. If you're already using Google services, this may not concern you, but if privacy matters, choose Cloudflare instead.
Quad9 9.9.9.9 — Best Security
Quad9 blocks access to known malicious domains — phishing sites, malware distribution, and ransomware command-and-control servers. It's operated by a non-profit (Quad9) and has strong privacy commitments. A great choice for families or security-conscious users.
How to Change DNS on Windows
- Open Settings → Network & Internet → Wi-Fi or Ethernet
- Click your connection → Edit (under DNS server assignment)
- Switch to Manual, enable IPv4
- Enter 1.1.1.1 as Preferred DNS, 1.0.0.1 as Alternate DNS
- Click Save
How to Change DNS on Mac
- System Preferences → Network
- Select your connection → Advanced → DNS tab
- Click + to add DNS servers: 1.1.1.1 and 1.0.0.1
- Click OK → Apply
How to Change DNS on Your Router (Best Method)
Changing DNS on your router applies it to every device on your network at once — phones, tablets, smart TVs, all benefit without individual configuration.
- Log in to your router admin panel (usually 192.168.1.1 or 192.168.0.1)
- Find DNS settings under WAN, Internet, or Advanced settings
- Enter 1.1.1.1 and 1.0.0.1
- Save and restart your router
How to Choose the Right DNS for Your Situation
The fastest DNS on a benchmark is not always the best DNS for every home. If you care most about page load speed, start with Cloudflare or Google and test both from your own connection. If you want extra malware blocking for family devices, Quad9 or Cloudflare's 1.1.1.2 can be a better fit. If you want ad or adult-content filtering at the DNS layer, AdGuard DNS may be more useful than a pure speed-focused resolver.
Run the same website-loading test before and after changing DNS, ideally at the same time of day. DNS will not increase your download speed from 100 Mbps to 500 Mbps, but it can reduce the delay before websites begin loading. The improvement is most noticeable when visiting many different sites, opening apps that call several domains, or using an ISP DNS server that is slow during peak hours.
DNS Troubleshooting Checklist
- Flush DNS cache after changing settings so your device stops using old lookups.
- Test both device and router settings because some devices override router DNS.
- Check VPN behavior since many VPNs force their own DNS while connected.
- Keep a backup resolver so your connection still works if one DNS provider has an outage.
- Use parental filtering intentionally because filtered DNS can block sites that are safe but misclassified.
💡 Tip: After changing DNS, clear your browser cache (Ctrl+Shift+Delete) and run a speed test to notice the difference in page load times.