HomeBlogGaming & Latency
Gaming & Latency15 min read•Published August 10, 2026

Best Public DNS Servers for Speed and Low Latency: Cloudflare vs. Google vs. Quad9

Can changing your DNS server improve your ping in online games and speed up browsing? We benchmark Cloudflare (1.1.1.1), Google Public DNS (8.8.8.8), Quad9, and OpenDNS, analyzing Anycast routing, EDNS Client Subnet, and security.

ER
Elena Rostova
Senior Infrastructure & CDN Architect

Executive Summary & Key Takeaways

  • DNS translates human-readable domain names into machine IP addresses; it does not route real-time game traffic once a connection is established.
  • Changing your DNS server can drastically reduce web page lookup times and improve CDN routing, but it will not lower your in-game tick ping once connected.
  • Cloudflare (1.1.1.1) consistently delivers the lowest global DNS lookup latency (sub-12ms worldwide) due to its pervasive Anycast edge network.
  • Quad9 (9.9.9.9) provides exceptional malware and threat mitigation by blocking malicious domains at the recursive resolver level.
  • EDNS Client Subnet (ECS) support in resolvers like Google DNS ensures Content Delivery Networks (CDNs) route your game downloads to the geographically closest server.

Every time you click a website link, launch an application, or connect to a multiplayer matchmaking server, your computer initiates a Domain Name System (DNS) query. Often referred to as the "phonebook of the internet," DNS translates human-friendly domain names like internetspeedmanager.com into machine-readable IP addresses like 104.21.48.122. By default, your home router automatically uses the DNS servers provided by your local Internet Service Provider (ISP)—which are frequently slow, poorly maintained, unencrypted, and sometimes weaponized for ad-tracking or ISP search redirection.

How Domain Name Resolution Works

When your computer needs to resolve a domain, it queries a Recursive DNS Resolver. If the resolver does not have the record cached in memory, it performs a hierarchical traversal across the global root zone:

# The 4-Step DNS Lookup Hierarchy
1. Client -> Recursive Resolver (e.g., 1.1.1.1 or ISP DNS)
2. Resolver -> Root Nameserver (e.g., [a-m].root-servers.net) -> Returns .com TLD
3. Resolver -> TLD Nameserver (e.g., a.gtld-servers.net) -> Returns Authoritative NS
4. Resolver -> Authoritative Nameserver (e.g., Cloudflare/Route53) -> Returns final IP!
5. Resolver caches record based on TTL (Time-To-Live) and responds to Client.

If your ISP's recursive resolver takes 85 ms to process this lookup, every new web asset, image CDN, or API endpoint you visit stalls for nearly a tenth of a second before downloading a single byte of data. Switching to a high-speed Anycast public resolver slashes this lookup phase to under 10 ms.

Debunking the Myth: Does DNS Lower In-Game Ping?

A widespread gaming myth claims that changing your DNS settings will immediately drop your in-game ping in games like Fortnite, Counter-Strike, or Valorant from 60 ms to 20 ms. This claim is technically false.

Here is the networking reality:

  • DNS is only used once at the beginning: When your game client launches, it makes a single DNS query to resolve the matchmaking gateway or master server (e.g., matchmaking.epicgames.com). This lookup takes a few milliseconds.
  • Game traffic uses direct IP addresses: Once matchmaking assigns you to a match server, your game client connects directly to that server's IP address (e.g., 15.204.12.88:27015) via raw UDP packets. DNS plays absolutely zero role in routing those real-time gameplay packets. Your in-game ping is dictated entirely by physical distance, fiber routing paths, peering agreements, and ISP network congestion.
Where DNS Does Make a Massive Difference: While DNS does not lower in-game tick latency, it dramatically speeds up web browsing responsiveness, accelerates game patch and asset downloads (via optimal CDN selection), prevents ISP tracking, and protects your home against phishing and malware domains.

Head-to-Head Benchmarks: Cloudflare, Google, Quad9 & OpenDNS

We tested the top public recursive DNS providers across 50 global server nodes measuring median lookup latency, privacy policies, threat blocking, and Anycast distribution:

Provider Primary / Secondary IPv4 Primary / Secondary IPv6 Median Global Latency Malware Blocking ECS Support
Cloudflare (1.1.1.1) 1.1.1.1
1.0.0.1
2606:4700:4700::1111
2606:4700:4700::1001
11.8 ms Optional (1.1.1.2) No (Privacy first)
Google Public DNS 8.8.8.8
8.8.4.4
2001:4860:4860::8888
2001:4860:4860::8844
19.4 ms No Yes (Full ECS)
Quad9 (9.9.9.9) 9.9.9.9
149.112.112.112
2620:fe::fe
2620:fe::9
21.2 ms Yes (Threat Intelligence) No
Cisco OpenDNS 208.67.222.222
208.67.220.220
2620:119:35::35
2620:119:53::53
22.6 ms Configurable Yes

The Role of EDNS Client Subnet (ECS) in Game Downloads

When you download a 90 GB game update on Steam, PlayStation Network, or Xbox Live, your system pulls data chunks from a Content Delivery Network (CDN) like Akamai, Fastly, or Cloudflare. CDNs operate hundreds of edge cache servers worldwide.

To deliver maximum download speed, the CDN must know your geographic location so it can direct you to an edge server in your city rather than across the continent. This is handled via EDNS Client Subnet (ECS - RFC 7871):

  • With ECS (e.g., Google DNS): When Google resolves a Steam CDN domain, it forwards an anonymized snippet of your IP address (e.g., your city subnet) to the CDN's authoritative nameserver. The CDN recognizes you are in Chicago and sends back the IP of a Chicago cache server, giving you full gigabit download speeds.
  • Without ECS (e.g., Standard Cloudflare 1.1.1.1): Cloudflare prioritizes privacy and omits your client subnet. In rare circumstances, a CDN might inspect Cloudflare's Anycast node location instead of your home, occasionally routing your game download to a suboptimal regional cache.

Security & Encryption: DoH vs. DoT vs. DNSSEC

Traditional legacy DNS operates in unencrypted plaintext over UDP port 53. Anyone on your local network, your ISP, or intermediate transit providers can sniff every domain you visit using simple packet capture tools like Wireshark. Furthermore, unencrypted DNS is vulnerable to DNS Cache Poisoning / Spoofing, where an attacker intercepts your request and serves a forged IP pointing to a credential-harvesting phishing site.

Modern secure networking relies on two encrypted transport standards:

Encrypted DNS Protocols:
  • DNS-over-HTTPS (DoH - RFC 8484): Encapsulates DNS queries within standard HTTPS traffic over port 443. To network snoopers and ISPs, your DNS lookups are indistinguishable from ordinary encrypted web browsing, making censorship and traffic logging virtually impossible. Supported natively in Windows 11, macOS Sonoma, iOS, and all modern browsers.
  • DNS-over-TLS (DoT - RFC 7858): Wraps DNS queries directly in a TLS tunnel over dedicated port 853. Favored by network administrators and Android's native "Private DNS" setting.
  • DNSSEC (DNS Security Extensions): Cryptographically signs DNS records using public-key cryptography to verify that the returned IP address was authenticated by the true domain owner and has not been forged in transit.

How to Benchmark and Configure DNS on Windows, Mac & Routers

1

Benchmark DNS Resolvers from Your Location

Because routing efficiency varies by ISP and geographic peering, test which resolver is fastest for your physical location using Steve Gibson's industry-standard DNS Benchmark tool (Windows) or the open-source namebench utility. Run a benchmark against 50 top public nameservers to identify your lowest-latency resolver.

2

Configure Router-Wide DNS (Protects All Home Devices)

Configuring DNS directly on your router protects every device connected to your home network—including smart TVs, consoles, and IoT devices—without needing manual setup on each machine:

  1. Open your router admin interface (e.g., 192.168.1.1 or 192.168.50.1).
  2. Navigate to WAN / Internet Settings > DNS Configuration.
  3. Set Primary DNS to 1.1.1.1 (Cloudflare) or 9.9.9.9 (Quad9).
  4. Set Secondary DNS to 8.8.8.8 (Google Public DNS) for fallback redundancy.
  5. Save and apply settings. Flush your local DNS cache on your computer:
# Windows Command Prompt / PowerShell
ipconfig /flushdns

# macOS Terminal
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Frequently Asked Questions About Public DNS

Is it safe to use public DNS servers?
Yes. Reputable providers like Cloudflare, Google, and Quad9 have strict privacy charters. Cloudflare, for instance, is audited by KPMG and commits to wiping all query logs within 24 hours while never selling personal browsing profiles to advertising brokers. In contrast, many residential ISPs log, analyze, and monetize your DNS requests for targeted advertising.
What is 1.1.1.2 and 1.1.1.3 from Cloudflare?
Cloudflare operates specialized family-friendly resolvers: 1.1.1.2 automatically blocks known malware, command-and-control servers, and phishing domains. 1.1.1.3 blocks both malware and adult content, making it popular for family households with young children.
Related Topics:#DNS#Cloudflare#Google DNS#Quad9#Latency#Anycast#DoH#EDNS
ER
Written by Elena Rostova
Senior Infrastructure & CDN Architect

Specializes in broadband infrastructure, low-latency protocol optimization, and consumer wireless technologies for Internet Speed Manager.