9 Best DNS Servers for Gaming in 2026 (Speed-Tested & Ranked)
Quick answer: For most gamers, Cloudflare (1.1.1.1) as your primary DNS with Google Public DNS (8.8.8.8) as a backup gives you the best mix of speed and reliability. If you want built-in malware and phishing protection at no cost, use Quad9 (9.9.9.9) instead.
One thing to know upfront: switching your DNS server won’t lower your in-game ping. That’s controlled by your route to the game server, not your DNS. What it will do is speed up matchmaking, store pages, patch checks, and login screens. We’ll explain exactly why below.
I’ve spent more hours than I’d like to admit chasing a few extra milliseconds in competitive shooters by testing resolvers, running benchmark tools, and comparing setups across a PS5, an Xbox Series X, and a gaming PC.
Along the way, I noticed almost every “best DNS for gaming” article makes the same overstated promise: switch your DNS, and your lag disappears. It doesn’t work that way, and I’d rather tell you what actually happens so you don’t waste an evening chasing the wrong fix.
This guide covers nine DNS servers worth using in 2026, what each one is actually good at, and, just as important, what DNS can’t do for your gameplay, plus the changes that genuinely do cut lag.
The Truth About DNS and Gaming Performance
Here’s the part most articles skip: once you’re connected to a match, your DNS server has zero influence on your in-game ping.
The physical route determines the path your data takes to the game server, the number of network hops, the distance, and the quality of that path. Changing your DNS doesn’t change that route.
What DNS does affect is everything that happens before you’re in the match:
- Matchmaking and lobby lookups; resolving the domains your game uses to find a server
- Store and launcher load times; Steam, the PlayStation Store, Xbox Store, and Epic Games Store all rely on DNS lookups to load pages
- Patch and update checks; the back-and-forth before a download starts
- Login and authentication screens; connecting to account and matchmaking services
If your ISP’s default DNS is slow, congested, or prone to timeouts, you’ll notice it as sluggish menus, slow store pages, and matches that take longer to find, not as in-game rubber-banding.
A fast, well-run DNS server smooths out that part of the experience. It just won’t touch your ping once the match starts.
What Is a DNS Server, Exactly?
Think of DNS as the Internet’s phonebook. Every website and game service has a human-readable name (like steampowered.com) and a numerical IP address that computers actually use to connect.
DNS is the system that looks up one and hands back the other, in the background, every time you load a page or launch a game.
Most people never touch this setting. Their router just uses whatever DNS server their ISP assigns by default.
The problem is that ISP-assigned DNS servers are often slower, less secure, and more prone to congestion than the public alternatives covered in this guide, and some ISPs use DNS to log activity or inject their own ads into error pages.
How We Evaluated These DNS Servers
Rather than just repeating each provider’s marketing claims, we compared them against the same criteria a gamer actually cares about:
- Speed and lookup latency – how quickly the resolver answers a query, based on published benchmark data and provider-reported network size
- Reliability and uptime – track record and size of the global anycast network
- Security features – DDoS mitigation, DNS spoofing protection, and malware/phishing blocklists
- Privacy policy – whether the provider logs, sells, or shares your query data
- Protocol support – whether the server supports encrypted DNS (DoH/DoT), which prevents your ISP from seeing which domains you’re resolving
- Cost and setup complexity – free vs. paid tiers, and how easy it is to configure on a console, PC, or router
Quick Comparison Table
| DNS Provider | Primary / Secondary IP | Speed | Security | Privacy | Price | Best For |
|---|---|---|---|---|---|---|
| Cloudflare | 1.1.1.1 / 1.0.0.1 | Excellent | DDoS + spoofing protection | Independently audited, no-log | Free | Overall speed |
| Google Public DNS | 8.8.8.8 / 8.8.4.4 | Excellent | DDoS + spoofing protection | Logged, tied to Google | Free | Reliability & global reach |
| Quad9 | 9.9.9.9 / 149.112.112.112 | Very good | Real-time malware blocklist, DNSSEC | No PII logging (Swiss non-profit) | Free | Free built-in security |
| OpenDNS | 208.67.222.222 / 208.67.220.220 | Good | Phishing/malware filtering, parental controls | Some logging | Free / Paid | Families & content filtering |
| NextDNS | Config-based (app/profile) | Very good | Custom blocklists, ad/tracker blocking | No-log (audited) | Free (300K queries/mo), Paid | Deep customization |
| Control D | 76.76.2.0 / 76.76.10.0 | Very good | Malware/ad filtering, DoH/DoT/DoQ | No-log | Free / Paid | Power users, encrypted DNS |
| AdGuard DNS | 94.140.14.14 / 94.140.15.15 | Good | Ad, tracker & malware blocking | No-log | Free / Paid | Ad-free browsing + gaming |
| Comodo Secure DNS | 8.26.56.26 / 8.20.247.20 | Moderate | Web filtering, malicious site blocking | Some logging | Free / Paid | Extra security layer |
| NordVPN DNS | 103.86.96.100 / 103.86.99.100 | Good | DNS-poisoning protection | No-log (with NordVPN app) | Free (public) | NordVPN subscribers |
The 9 Best DNS Servers for Gaming in 2026
1. Cloudflare (1.1.1.1)
Primary DNS: 1.1.1.1 Secondary DNS: 1.0.0.1
Cloudflare consistently ranks as one of the fastest public DNS resolvers available, backed by an enormous global anycast network that routes your query to the nearest server automatically.
It includes protection against DNS spoofing and DDoS attacks, and Cloudflare’s no-logging privacy policy has been independently audited, which is rare in this space.
What it’s missing: Cloudflare doesn’t filter malicious or phishing websites the way Quad9 or OpenDNS do, so it’s purely a speed-and-privacy play, not a security suite.
Best for: Gamers who just want the fastest possible upgrade from their ISP’s default DNS, with no account or setup required.
2. Google Public DNS (8.8.8.8)
Primary DNS: 8.8.8.8 Secondary DNS: 8.8.4.4
Google runs one of the largest DNS infrastructures on the planet, with data centers positioned to reduce the load on your ISP’s own servers. It’s fast, free, and protected against spoofing and DDoS attacks, and its sheer scale makes it a dependable fallback almost anywhere in the world.
What it’s missing: Google’s privacy policy allows it to use DNS query data in aggregate for its own analytics, which matters if you’d rather your resolver not be tied to the same company that runs your Gmail and YouTube account.
Best for: A reliable secondary DNS to pair with Cloudflare, or a solid primary choice if privacy isn’t your top concern.
3. Quad9 (9.9.9.9)
Primary DNS: 9.9.9.9 Secondary DNS: 149.112.112.112
Quad9 is run by a Swiss non-profit and takes a security-first approach: every query is checked against a real-time blocklist of known malware, phishing, and botnet domains before it resolves. It supports DNSSEC validation and encrypted DNS (DoH/DoT), and it doesn’t log or sell personally identifiable data.
What it’s missing: Quad9 tends to test slightly slower than Cloudflare or Google in raw benchmark speed, and if a gaming forum or clan site is mistakenly flagged, it simply won’t resolve. There’s no manual override for individual users.
Best for: Security-conscious gamers who want serious malware protection without paying for it.
4. OpenDNS
Primary DNS: 208.67.222.222 Secondary DNS: 208.67.220.220
Owned by Cisco, OpenDNS has been running since 2006 and has built a strong reputation for uptime and phishing protection. Its standout feature is content filtering and parental controls, which make it a genuinely good pick for households where kids also use the network for gaming.
What it’s missing: It isn’t the fastest option on this list in raw speed tests, and the free tier’s customization is more limited than paid competitors like NextDNS.
Best for: Family setups where you want to filter content across every device on the network.
5. NextDNS
Setup: Config-based via app or profile ID (no fixed public IP)
NextDNS takes customization further than any other provider here. Once you create a free profile, you get real-time analytics on every query, custom blocklists, ad and tracker blocking, and parental controls you can fine-tune per device. The free tier includes 300,000 queries a month, which is plenty for most households.
What it’s missing: Unlike Cloudflare or Google, you can’t just type in two IP addresses and be done. NextDNS requires linking a config ID through its app or a DoH/DoT endpoint, which is a bit more setup than a casual user wants.
Best for: Anyone who wants granular control over exactly what gets blocked, plus visibility into their own DNS traffic.
6. Control D
Primary DNS: 76.76.2.0 Secondary DNS: 76.76.10.0
Control D is a newer, gaming-community favorite that supports every encrypted DNS protocol, DoH, DoT, and DoQ, and offers free, no-account filtering profiles alongside a paid tier with deep customization. Its anycast network that tests well for both speed and uptime.
What it’s missing: The free tier’s filtering options are more limited than the paid plans, and as a newer, smaller company, it doesn’t have the decades-long track record of Google or OpenDNS.
Best for: Gamers who want encrypted DNS by default without giving up speed.
7. AdGuard DNS
Primary DNS: 94.140.14.14 Secondary DNS: 94.140.15.15
AdGuard DNS blocks ads, trackers, and known malicious domains at the network level, which means fewer ads load in browsers and apps across every connected device. This DNS useful if you also stream or browse while gaming. It supports encrypted DNS and doesn’t log identifiable query data.
What it’s missing: Aggressive ad-blocking at the DNS level occasionally breaks a site or service that relies on ad-network domains for legitimate functionality, so you may need to whitelist specific domains.
Best for: Gamers who want ad-blocking baked into their DNS instead of running a separate browser extension.
8. Comodo Secure DNS
Primary DNS: 8.26.56.26 Secondary DNS: 8.20.247.20
Comodo Secure DNS layers cloud-based web filtering on top of standard resolution, actively blocking known malicious and phishing sites. It offers both free and premium tiers, with the premium option adding more granular filtering controls and dedicated technical support.
What it’s missing: It’s noticeably behind Cloudflare, Google, and Control D in raw speed benchmarks, so it’s a better fit for security-first setups than for competitive, latency-sensitive play.
Best for: Users who want an extra filtering layer and don’t mind trading a little speed for it.
9. NordVPN DNS
Primary DNS: 103.86.96.100 Secondary DNS: 103.86.99.100
These are NordVPN’s public DNS servers, protected against DNS poisoning and available to anyone, not just subscribers. If you already use the NordVPN app, its Threat Protection feature adds DNS-level filtering against malicious domains, and its SmartPlay feature can reroute DNS requests when a service isn’t available in your region.
What it’s missing: Used on its own (outside the NordVPN app), it doesn’t offer much beyond what Cloudflare or Quad9 already provide for free, and it makes the most sense as part of a broader VPN subscription rather than a standalone DNS choice.
Best for: Existing NordVPN subscribers who want their DNS and VPN protection to work together.
Myth vs. Fact: DNS and Gaming
| Myth | Fact |
|---|---|
| “Changing my DNS will lower my in-game ping.” | DNS does not affect ping once you’re connected to a match. That’s determined by your route to the game server. |
| “A gaming-branded DNS service makes you faster than a free public one.” | Speed comes down to server distance and network quality, not marketing. Cloudflare and Google are free and consistently benchmark among the fastest. |
| “DNS servers can unlock region-locked game servers.” | DNS resolves domain names to IPs. It doesn’t change which regional server a game routes you to. A VPN can sometimes do this; DNS alone cannot. |
| “You should always use one provider’s primary and secondary IPs together.” | You can mix providers (e.g., Cloudflare primary, Quad9 secondary), though some systems query both simultaneously and use whichever responds first. |
| “Free DNS servers are less secure than paid ones.” | Cloudflare, Quad9, and Google are all free and independently regarded as some of the most secure, privacy-respecting options available. |
What Actually Reduces Lag (If DNS Doesn’t)
If your real goal is lower ping and fewer lag spikes, these changes matter far more than any DNS switch:
- Fix bufferbloat. This is the single most common, most overlooked cause of lag spikes. When someone else on your network is streaming or uploading, your router’s buffer can get overloaded, and your ping balloons. Most modern routers with Smart Queue Management (SQM) or QoS settings can fix this. If your current router doesn’t support Smart Queue Management, a modern QoS-capable gaming router is one of the highest-impact upgrades you can make for online play.
- Go wired. A direct Ethernet connection eliminates the jitter and packet loss that Wi-Fi introduces, especially in a busy household. A short, well-shielded Cat 6 Ethernet cable like the one from Cable Matters (see on Amazon) running from your console or PC straight to the router is an inexpensive way to cut out Wi-Fi interference entirely.
- Play on 5GHz or 6GHz Wi-Fi if you can’t go wired. These bands have less interference than 2.4GHz, though they don’t travel through walls as well. See our guide on choosing the best Wi-Fi channel for the full breakdown.
- Check for network congestion. If several devices are streaming, downloading, or backing up at once, your available bandwidth drops. Avoid large downloads during play sessions.
- Confirm your router isn’t the bottleneck. Older routers with outdated firmware or weak hardware can introduce latency of their own. Our guide to router security features that matter in 2026 also covers performance-related settings worth checking.
Related: Is 5G Home Internet Good for Gaming? A Comprehensive Guide
How to Choose the Right DNS Server for Your Setup
- Casual gamer, just want an easy upgrade: Cloudflare (1.1.1.1) – fastest, free, zero configuration.
- Competitive/ranked player: Cloudflare primary, Google secondary – both consistently benchmark fast and rarely time out.
- Family with kids gaming on shared devices: OpenDNS or NextDNS – built-in content filtering and parental controls.
- Privacy-focused: Quad9 or Control D – no-log policies with strong security filtering.
- Already paying for a VPN: Use your VPN provider’s DNS (e.g., NordVPN, Surfshark) so your DNS and VPN protection are aligned.
Related: What Internet Connection Speed Do You Need for PS5?
How to Test DNS Speed Yourself
Don’t just take a provider’s word for it. Test it on your own network, since the “fastest” DNS server genuinely varies by location and ISP.
- GRC’s DNS Benchmark (grc.com): a free desktop tool that tests up to 200 DNS servers from your actual connection and ranks them by response time.
- Namebench: an open-source benchmarking tool that compares your current DNS against public alternatives using your real browsing history.
- DNSPerf: an online dashboard showing global, crowd-sourced performance data for major public DNS providers, useful for a quick sanity check before you commit to a change.
Run a benchmark before and after switching. It takes ten minutes and removes the guesswork.
Step-by-Step: How to Change Your DNS Server
PS5
- Go to Settings → Network → Settings.
- Select Set Up Internet Connection and choose your connection.
- Choose Advanced Settings.
- Under DNS Settings, select Manual.
- Enter your chosen Primary and Secondary DNS addresses.
- Save your changes and test your connection.
Xbox Series X|S / Xbox One
- Go to Settings → General → Network settings.
- Select Advanced settings.
- Choose DNS settings, then select Manual.
- Enter the Primary and Secondary DNS addresses.
- Save, then restart your console to apply the change.
Related: Xbox Controller Won’t Connect: Simple Fixes
PC (Windows)
- Open Settings → Network & Internet.
- Click your active connection (Wi-Fi or Ethernet), then Edit next to DNS server assignment.
- Switch from Automatic (DHCP) to Manual.
- Enable IPv4, and enter your Preferred and Alternate DNS addresses.
- Save the changes.
Router (protects every device at once)
- Open a browser and enter your router’s IP address (commonly 192.168.1.1 or 192.168.0.1).
- Log in with your router’s admin credentials.
- Find the WAN or Internet settings page.
- Change the DNS fields from “Automatic” or ISP-assigned to your chosen provider’s Primary and Secondary addresses.
- Save and reboot the router.
Setting DNS at the router level is the most efficient option if you want every console, PC, and phone on your network to benefit without configuring each device individually.
Common Mistakes to Avoid When Changing DNS
- Mixing unrelated providers as primary/secondary. Some devices query both simultaneously and use whichever responds first. If you want a provider’s full privacy or security benefit, use its own primary and secondary IPs together.
- Forgetting to restart after changing router-level DNS. Cached settings on individual devices can override the new configuration until you restart or flush the DNS cache.
- Assuming DNS will fix in-game lag. If your actual problem is rubber-banding mid-match, look at bufferbloat, and your wired/Wi-Fi setup instead – see the section above.
- Ignoring the privacy policy. If avoiding data logging matters to you, check whether the provider you picked actually has a no-log policy – not all “free” DNS providers do.
Troubleshooting DNS Issues While Gaming
Slow connections:
- Restart your router and gaming device.
- Run a speed test to confirm you’re getting the bandwidth you’re paying for.
- Try a different DNS server to see if performance improves.
- Contact your ISP if the issue persists on their end.
DNS server unresponsive:
- Restart your router and device.
- Flush your DNS cache (on Windows, run
ipconfig /flushdnsin Command Prompt). - Temporarily switch to a different DNS server to isolate the issue.
- Contact your DNS provider’s support if the problem continues.
Expert Tips Checklist
- Benchmark before you switch – the “fastest” DNS varies by location
- Pair a fast primary (Cloudflare/Google) with a security-focused secondary if you want both
- Set DNS at the router level to cover every device at once
- Go wired for competitive play. It matters more than DNS ever will
- Fix bufferbloat if you’re seeing lag spikes, not just slow menus
- Re-test speeds periodically; provider performance changes over time
Related: How to Fix PS5 Wi-Fi Issues When PS5 Won’t Connect to the Internet?
Conclusion
The best DNS server for gaming in 2026 comes down to what you’re actually optimizing for.
If you want the simplest, fastest upgrade from your ISP’s default, Cloudflare (1.1.1.1) is the easiest recommendation to make.
If free built-in security matters more to you, Quad9 is hard to beat. Families will get the most value from OpenDNS or NextDNS’s filtering, and privacy-focused gamers should look at Quad9 or Control D.
Just keep your expectations honest: a better DNS server will speed up matchmaking, store pages, and connection setup. It won’t turn a laggy match into a smooth one. For that, the wired connection and bufferbloat fixes above will do far more than any resolver on this list.
Frequently Asked Questions
Does changing my DNS server actually reduce lag in-game?
No. DNS affects how quickly your device resolves domain names before and during matchmaking, not your ping once you’re connected to a match. In-game lag is caused by your network route, bufferbloat, or Wi-Fi interference.
What is the fastest DNS server for gaming?
Cloudflare (1.1.1.1) and Google Public DNS (8.8.8.8) consistently benchmark as the fastest free public resolvers, though the actual fastest option can vary slightly depending on your location and ISP.
Is Cloudflare or Google DNS better for gaming?
Both are fast and reliable. Cloudflare has a stronger, independently audited no-log privacy policy, while Google has a larger global infrastructure. Many gamers use Cloudflare as their primary and Google as a backup.
Can a DNS server unlock game servers in other regions?
No. DNS resolves domain names into IP addresses. It doesn’t change which regional game server you connect to. A VPN can sometimes achieve this; a DNS change alone cannot.
Is it safe to change my DNS server?
Yes, as long as you use a reputable, well-known provider like the ones covered in this guide. Established public DNS services are generally as secure, or more secure, than your ISP’s default.
Will I get banned for changing my DNS server?
No. Changing your DNS server is a standard network setting change and isn’t detected or penalized by any major game or platform.
What’s the difference between primary and secondary DNS?
The primary DNS server handles your queries first. If it doesn’t respond, your device falls back to the secondary DNS. Using two servers from the same provider preserves that provider’s privacy and security features; mixing providers means either could respond first.
Does DNS over HTTPS (DoH) slow down gaming?
Encrypted DNS (DoH/DoT) adds a small amount of processing overhead, but it’s typically a few milliseconds and imperceptible during play. It encrypts your DNS queries so your ISP can’t see which domains you’re resolving.
What’s the best free DNS server for gaming?
Cloudflare (1.1.1.1) and Quad9 (9.9.9.9) are both free, fast, and don’t require an account. Cloudflare for pure speed, Quad9 if you also want built-in malware protection.
Is NextDNS worth paying for?
The free tier (300,000 queries a month) is enough for most single households. It’s worth upgrading if you’re filtering multiple heavy-use devices or want detailed, ongoing query analytics.
What DNS server should I use for PS5?
Cloudflare (1.1.1.1) or Google Public DNS (8.8.8.8) are the simplest, most reliable choices for PS5. Both are easy to enter manually under Network Settings.
What DNS server is best for Xbox?
The same options that work well on PS5. Cloudflare or Google is also the most reliable choice for Xbox Series X|S and Xbox One.
Does a faster DNS server improve download speeds for game updates?
Not directly. DNS only affects the initial lookup before a download starts; the download speed itself depends on your internet connection and the game’s content delivery network.
How often should I flush my DNS cache?
You generally don’t need to on a regular schedule. Only flush it when troubleshooting a connection issue or right after switching DNS providers, using ipconfig /flushdns on Windows.
Should I use a VPN or a DNS change to reduce gaming lag?
They solve different problems. DNS speeds up lookups; a VPN can occasionally improve ping by using more efficient routing than your ISP, though it can also add latency depending on the VPN server’s location. Neither replaces fixing bufferbloat or going wired.
Can my router limit which DNS server I use?
Some ISP-provided routers restrict or override manual DNS settings. If your device-level DNS change isn’t taking effect, check your router’s WAN settings or contact your ISP.
Is OpenDNS good for gaming with kids in the house?
Yes. OpenDNS’s parental controls and content filtering make it one of the better choices for a shared household network where kids also game.
What DNS server has the best privacy policy?
Cloudflare and Quad9 both have independently reviewed no-log policies. Google logs some query data as part of its broader privacy policy, which is worth considering if privacy is a priority.
Do I need to change DNS on every device, or just my router?
Setting DNS at the router level applies it to every connected device automatically. Changing it on a single console or PC only affects that device.
Why does my DNS server keep timing out during gameplay?
This is usually a sign of an overloaded or unreliable resolver, not a gaming-specific issue. Try a different provider from this list, restart your router, and run a benchmark test to confirm which server is actually responding fastest on your network.
Please share this article with your friends and relatives if you find it useful.
We also ask that you bookmark this page for future reference, as we are constantly updating our articles with new information.
Sign up for our free newsletter as well to receive fresh information immediately in your inbox and keep technically up to date.
Disclosure: If you follow our links to a retailer’s website and make a purchase, we will get an affiliate commission on some, but not all, of the items or services we promote. This will cause no price change for you.







