When you launch a game, your console or PC sends DNS queries to find the IP addresses of matchmaking servers, content delivery networks, and game services. If your ISP's DNS is slow or overloaded, these lookups add 50–200ms of invisible delay to every session start. Switching to a faster DNS provider like Cloudflare or Google eliminates this delay.
Best DNS Servers for Gaming — Ranked by Latency
| DNS Provider | Primary | Secondary | Avg. Latency | Best For |
|---|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | ~11 ms | Gaming (Recommended) |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | ~20 ms | Reliability + Uptime |
| Quad9 | 9.9.9.9 | 149.112.112.112 | ~18 ms | Security + malware blocking |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | ~25 ms | Parental controls + filtering |
| AdGuard DNS | 94.140.14.14 | 94.140.15.15 | ~28 ms | Ad blocking + tracker filtering |
Cloudflare (1.1.1.1) is the top recommendation for gaming due to its globally lowest average query time, DNSSEC validation, and strict no-logging policy.
DNS Setup Guide by Platform
Step-by-step instructions to configure the best DNS for each gaming platform:
- Go to Settings → Network → Settings.
- Select Set Up Internet Connection.
- Choose your Wi-Fi or LAN and press Options.
- Select Advanced Settings.
- Set DNS Settings → Manual.
- Primary: 1.1.1.1, Secondary: 1.0.0.1.
- Select Done and test the connection.
- Go to Settings → General → Network Settings.
- Select Advanced Settings.
- Select DNS Settings → Manual.
- Primary: 1.1.1.1, Secondary: 1.0.0.1.
- Press B to save and test your connection.
- Go to System Settings → Internet → Internet Settings.
- Select your Wi-Fi network → Change Settings.
- Select DNS Settings → Manual.
- Primary: 1.1.1.1, Secondary: 1.0.0.1.
- Tap Save.
- Go to Settings → Network & Internet → Advanced Network Settings.
- Click your active adapter → Edit.
- Select Manual → IPv4 → On.
- Preferred DNS: 1.1.1.1, Alternate: 1.0.0.1.
- Click Save.
DNS Provider Comparison for Gaming
Cloudflare's 1.1.1.1 is the world's fastest public DNS resolver according to DNSPerf benchmarks. Built on Anycast infrastructure across 300+ cities, every query is routed to the nearest PoP (Point of Presence). Cloudflare processes DNS queries in ~11ms globally and maintains a strict no-logging policy — your IP address is never stored.
- ✓ Fastest average global DNS
- ✓ No query logging / full privacy
- ✓ DNSSEC and DoH / DoT support
- ✓ Free malware filter at 1.1.1.2
- ✗ Rare: some ISPs throttle Cloudflare traffic
Google's public DNS is the most widely used resolver in the world. It benefits from Google's massive global network infrastructure, excellent routing, and high cache hit rates for popular gaming domains. Average latency is ~20ms globally, making it slightly slower than Cloudflare but with exceptional uptime and redundancy.
- ✓ Excellent uptime and global coverage
- ✓ Fast caching for popular domains
- ✓ IPv6 support
- ✓ DNSSEC validation
- ✗ Logs some query data for diagnostics
- ✗ Slightly slower than Cloudflare
Quad9 is operated by the Quad9 Foundation (a non-profit) and is headquartered in Switzerland under strict privacy laws. It automatically blocks queries to known malicious domains using threat intelligence from 25+ cybersecurity organizations. Average latency of ~18ms makes it competitive with Google for gaming.
- ✓ Automatic malware domain blocking
- ✓ Non-profit with strict privacy policy
- ✓ No data sold to advertisers
- ✓ DNSSEC support
- ✗ May block some legitimate domains by mistake
- ✗ Slightly slower than Cloudflare
What DNS Does (and Does Not) Do for Gaming
- Matchmaking speed: Faster server lookups reduce lobby connection time.
- Game launch times: Quicker CDN resolution means faster patch downloads.
- Store loading: PS Store, Xbox Game Pass, Steam load faster.
- Party/friends list: Faster DNS means quicker social server connections.
- Privacy: No-log DNS hides browsing habits from ISP monitoring.
- In-game ping: Server distance determines latency once connected.
- Packet loss: Poor physical link quality causes packet loss, not DNS.
- Bandwidth: DNS does not increase download or upload speeds.
- NAT type: Strict NAT requires port forwarding, not DNS changes.
- Jitter/stuttering: Network instability requires QoS or hardware fix.
Set DNS on Your Router (Applies to All Gaming Devices)
The most efficient way to upgrade DNS for all gaming devices simultaneously is to configure it at the router level. Every device connected to your Wi-Fi or LAN will automatically use the faster DNS:
| Router Brand | Login Address | DNS Menu Location |
|---|---|---|
| TP-Link | tplinkwifi.net | Advanced → Network → DHCP Server |
| ASUS | router.asus.com | WAN → Internet Connection → WAN DNS Setting |
| NETGEAR | routerlogin.net | Basic → Internet → DNS Address |
| D-Link | 192.168.0.1 | Setup → Internet → DNS Settings |
| Linksys | 192.168.1.1 | Connectivity → Internet Settings → DNS |
For the full brand-by-brand guide, see our How to Change DNS on Router guide.
Security DNS Options for Gamers
If you want both fast DNS and added security (such as blocking phishing sites or malware during gaming), consider these specialized options:
Blocks malware and adult content. Suitable for family gaming setups.
Blocks malware domains only. Good for gamers who want protection without content filtering.
Blocks 25+ threat intelligence feeds. Swiss privacy law protection.
Related Gaming Network Guides
Step-by-step DNS setup guide for all major router brands.
Best DNS for Faster InternetFull latency benchmarks comparing top DNS providers for browsing.
Open NAT Type GuideHow to achieve Open NAT for faster matchmaking on PS5 and Xbox.
Fix Strict NAT TypeStep-by-step fix for Strict NAT — UPnP, port forwarding, DMZ.
Port Forwarding GuideHow to open ports for gaming servers and home hosting.
PS5 NAT Type FixDedicated PS5 network optimization and NAT guide.
Xbox Open NAT GuideHow to get Open NAT on Xbox Series X/S.
Router Settings GuideComplete guide to every important router configuration panel.
Related DNS Guides
Understand how the Domain Name System works and why it matters.
Best DNS Servers 2026Complete comparison of the fastest, most secure public DNS resolvers.
Best DNS for PS5Optimized DNS settings specifically for PlayStation 5 performance.
Best DNS for XboxDNS configuration guide for Xbox Series X/S and Xbox One.
DNS Server Not RespondingStep-by-step guide to fix DNS resolution failures.
DNS Probe Finished No InternetFix the Chrome DNS_PROBE_FINISHED_NO_INTERNET error.
Flush DNS CacheHow to clear your DNS resolver cache on Windows, macOS, and Linux.
DNS HubFull DNS learning hub with tools, guides, and troubleshooting resources.
Quick Fix Checklist
- 1Set Cloudflare (1.1.1.1 / 1.0.0.1) as Primary and Secondary DNS on your router or console.
- 2Configure DNS on both the router (global) and the specific console (device override) for best results.
- 3Always fill both Primary and Secondary DNS fields — never leave Secondary blank.
- 4Flush DNS cache after changes: run 'ipconfig /flushdns' on Windows or power cycle your console.
- 5Run a DNS speed benchmark before and after to measure the improvement.
- 6For PS5: configure DNS under Advanced Settings in the Set Up Internet Connection wizard.
- 7For Xbox: go to Settings → General → Network Settings → Advanced Settings → DNS Settings.
Common Root Causes
Slow ISP Default DNS
ISP-provided DNS servers are often overcrowded and geographically distant, adding 50–150ms to every resolution query and slowing lobby loads.
No DNS Caching at ISP Level
ISP DNS servers sometimes skip caching for popular domains, forcing full resolution on every query rather than serving a cached result.
DNS Hijacking
Some ISPs intercept DNS queries and redirect them to their own search portal, leaking browsing data and causing unexpected delays.
IPv6 DNS Not Configured
Devices with IPv6 enabled will bypass custom IPv4 DNS settings and fall back to ISP default IPv6 resolvers if IPv6 DNS is not also configured.
Step-by-Step Diagnostic Resolution Flow
- 1
Find the DNS Settings on Your Gaming Device or Router
DNS for gaming can be configured at the router level (applies to all devices) or directly on each console. For router-level setup, log in to your router admin panel at 192.168.1.1 or 192.168.0.1. For device-level setup, go to Network Settings on your PS5, Xbox, Switch, or PC.
Expert Tip: Setting DNS on your router affects all devices simultaneously. Setting DNS on a specific console overrides the router setting only for that device. - 2
Choose the Right DNS Provider for Your Region
Cloudflare (1.1.1.1) is consistently the fastest DNS globally with average query times under 12ms. Google (8.8.8.8) provides excellent reliability and uptime. Quad9 (9.9.9.9) offers built-in malware filtering with ~18ms average latency.
Expert Tip: DNS speed varies by geographic region. Run a DNS benchmark tool like DNS Benchmark (Windows) or namebench to test which provider is fastest from your exact location. - 3
Enter Primary and Secondary DNS Addresses
For Cloudflare: Primary 1.1.1.1 / Secondary 1.0.0.1. For Google: Primary 8.8.8.8 / Secondary 8.8.4.4. For Quad9: Primary 9.9.9.9 / Secondary 149.112.112.112. Always configure both Primary and Secondary for automatic failover.
Expert Tip: A common trick: use Cloudflare 1.1.1.1 as Primary and Google 8.8.4.4 as Secondary — this gives you the fastest primary and a highly reliable fallback from a different infrastructure. - 4
Save Settings and Test Your Connection
Save the new DNS settings and run your console's network test. On PS5: Settings → Network → Connection Status → Test Internet Connection. On Xbox: Settings → General → Network Settings → Test Network Connection. Reboot the router after changing DNS there.
Expert Tip: After saving, run a DNS speed test using nslookup google.com in Command Prompt. The Server field should now show your new DNS provider's IP address.
When To Contact Your ISP
Contact your ISP if you suspect DNS hijacking — where DNS queries are redirected to an ISP search page even after changing your DNS settings. Enable DNS over HTTPS (DoH) in your browser or router to bypass this. If custom DNS settings are automatically overwritten by the ISP gateway, the ISP may be enforcing their DNS at the modem level.
Expert Q&A & Troubleshooting Insights
What is the best DNS for gaming in 2026?
Cloudflare (1.1.1.1 / 1.0.0.1) is the best DNS for gaming in 2026. It has the lowest average global response time (~11ms), a strict no-logging policy, full DNSSEC support, and runs on Anycast infrastructure for the fastest regional routing. Google (8.8.8.8) is the best alternative for reliability, especially in regions where Cloudflare has fewer PoPs.
Does DNS affect ping in games?
DNS does not directly reduce your in-game ping to game servers. Your ping (round-trip time to the server) is determined by physical routing paths and server distance. However, DNS speed affects matchmaking speed, lobby loading, and the time it takes to connect to servers at game launch. Faster DNS means faster server discovery, reducing initial connection delays by 50-200ms on slow ISP DNS.
Should I change DNS on my router or directly on my PS5/Xbox?
Changing DNS on your router applies it to every device (PS5, Xbox, PC, phone) automatically. Changing it directly on a console overrides the router setting just for that device. If you want all gaming devices to benefit, change it at the router. If you want the fastest possible setup without touching the router, configure each console individually.
What is the best DNS server for PS5?
The best DNS servers for PS5 are Cloudflare (Primary: 1.1.1.1, Secondary: 1.0.0.1). These provide the fastest PSN connection times and lowest DNS resolution latency. To configure: Settings → Network → Settings → Set Up Internet Connection → press Options → Advanced Settings → DNS Settings → Manual → enter 1.1.1.1 and 1.0.0.1.
What is the best DNS server for Xbox Series X/S?
The best DNS servers for Xbox are Cloudflare (1.1.1.1 / 1.0.0.1) or Google (8.8.8.8 / 8.8.4.4). To configure on Xbox: Settings → General → Network Settings → Advanced Settings → DNS Settings → Manual → enter your preferred primary and secondary addresses. Both options significantly outperform the default ISP DNS assigned by most routers.
Can changing DNS fix packet loss in games?
No. DNS affects name resolution speed, not data routing. Packet loss is caused by poor quality links, congested network segments, or a weak Wi-Fi signal. If you are experiencing packet loss, check your physical connection (use a wired Ethernet cable), check for router firmware updates, and review your ISP's line quality. See our Packet Loss Fix guide for detailed diagnostics.
Does Google DNS or Cloudflare DNS give lower ping for gaming?
Cloudflare (1.1.1.1) generally has lower DNS resolution times globally, averaging ~11ms vs. Google's ~20ms. For actual in-game ping, the difference is negligible after the initial connection is established. Cloudflare is recommended for gaming because its faster resolution speeds up matchmaking, PSN/Xbox Live sign-ins, and game server discovery.
Is Cloudflare DNS free?
Yes. Cloudflare's 1.1.1.1 DNS resolver is completely free for everyone. It offers standard DNS (1.1.1.1), malware-blocking DNS (1.1.1.2), and malware + adult content filtering (1.1.1.3). Cloudflare also provides DNS over HTTPS (DoH) and DNS over TLS (DoT) for free at cloudflare-dns.com.