Skip to content

Live DNS-over-HTTPS benchmark from your browser

DNS Speed Test — Find Your Fastest DNS Server

Run a free DNS speed test online. Compare real DoH response times, check reliability, and find the fastest tested DNS server for your network.

Run DNS Speed Test

Free · No installation · Real browser-based measurements

Ready to test your DNS performance

Compare DNS providers using your current network connection.

How the test works

Your browser sends real DNS-over-HTTPS (RFC 8484) queries straight to each provider. Nothing is routed through our servers.

Each provider first gets unscored warm-up queries, then 10 scored rounds (15 in the Standard test). In every round all providers receive the same question, in a shuffled order. Every response is checked to make sure it really answers the question that was sent.

The time shown is the full request time seen by your browser, including network, encryption and resolver processing. Providers are ranked by median time. Only providers that answered at least 90% of queries are ranked. When two neighbouring results overlap statistically, they are marked as “similar”.

Results apply to this browser, network and moment. Speeds over plain DNS or DNS-over-TLS on your device can differ.

How DNS speed testing works in your browser

Most DNS benchmarks measure from a remote data centre. Fastest DNS sends real DNS-over-HTTPS queries from your browser, so the numbers reflect your connection to each resolver’s nearest point of presence.

Request
GET /dns-query?dns=q80BAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ
host: cloudflare-dns.com
accept: application/dns-message
  1. 1

    Encode

    Your browser builds a binary DNS query in RFC 1035 wireformat with a random ID, so no HTTP cache can answer it.

  2. 2

    Send over HTTPS

    fetch() sends it to each resolver’s RFC 8484 endpoint as application/dns-message, exactly like a DoH-enabled browser.

  3. 3

    Resolve

    The resolver answers from its edge cache or performs recursive resolution, then returns a binary DNS response.

  4. 4

    Time & score

    performance.now() measures the full round trip. Warm-up queries are excluded so TLS handshakes don’t skew the score.

Why we test several domains

Each domain is served by different authoritative nameservers and sits in resolver caches differently. Testing one domain tells you about that domain; testing several tells you about the resolver.

  • google.com
  • youtube.com
  • facebook.com
  • instagram.com
  • whatsapp.com
  • tiktok.com
  • reddit.com
  • wikipedia.org
  • amazon.com
  • pinterest.com
  • chatgpt.com
  • x.com

Edit the list any time with “Hosts” in the tool — your choices are saved privately in this browser.

Cold recursive vs warm edge cache

A cached answer comes straight from resolver memory. A cache miss walks the DNS hierarchy before answering.

Warm edge cache hit 5–25 ms
Cold recursive resolution 100–300 ms
Root TLD Authoritative

Bootstrap median difference resampling

A single slow Wi-Fi packet shouldn’t crown or sink a resolver. We rank by median latency, then check whether the gap to #1 is real.

2,000

resamples of each resolver’s
measurements per comparison

For each resolver we repeatedly resample its measurements, compute the difference in medians against the resolver ranked directly above it, and build a 95% confidence interval. If that interval includes zero, the two are labelled similar instead of declaring an arbitrary winner.

Filtering policies are not failures

Privacy and family resolvers intentionally answer some domains differently. Those answers are still fast, valid DNS responses.

0.0.0.0
Sinkholed by policy (ad or tracker block)
NXDOMAIN
Domain reported as non-existent by filter
REFUSED
Resolver declines to answer this client

We time the response, not the answer — so blocking resolvers are scored fairly.

Debunking DNS myths

What DNS speed can and can’t change about your internet experience.

  • “A faster DNS server gives you higher download speeds”

    DNS only translates domain names to IP addresses at the beginning. It does not carry data and has zero effect on bandwidth.

  • “1.1.1.1 is always the fastest resolver everywhere”

    Routing depends on ISP peering and location. On many networks, Google or Quad9 answers faster.

  • “DNS-over-HTTPS hides all browsing history from ISPs”

    DoH encrypts the query, but TLS SNI and destination IP addresses remain visible without ECH.

  • “Running a benchmark once gives an absolute winner”

    DNS performance fluctuates with cache state, local Wi-Fi contention, and edge server load. Multiple rounds and median stats are required for reliable decisions.

DNS Speed Test Guide & Knowledge Base

Straight answers about DNS speed, privacy, and operating system configuration.

How does browser-based DNS speed testing work? +

Fastest DNS creates RFC 1035 wireformat DNS binary queries directly inside your browser and dispatches them via fetch() over HTTPS (RFC 8484) to each provider’s secure DoH endpoint. We benchmark the complete round-trip time from your device to the resolver’s nearest point of presence.

Why are some providers marked as unavailable or not tested? +

Browsers enforce Cross-Origin Resource Sharing (CORS) security. Resolvers that do not send the Access-Control-Allow-Origin header cannot be read by web applications. This is an intentional security boundary of the web platform, not an indicator that the DNS server is slow or offline.

What is the difference between Quick and Standard test profiles? +

Both profiles start with unscored warm-up queries. The Quick test then runs 10 scored rounds of A (IPv4) lookups. The Standard test runs 15 scored rounds that alternate A (IPv4) and AAAA (IPv6) lookups, giving more samples for P95 tail latency and the statistical comparison. Administrators can adjust these numbers.

Does switching to a faster DNS resolver make my downloads faster? +

No. DNS only speeds up the initial lookup when opening a new page or connection. Once an IP address is known, download throughput and video streaming depend entirely on your ISP bandwidth and CDN routing.

Does changing my DNS server reduce in-game ping for gaming? +

No, DNS does not lower in-match tick-rate ping because games transmit live gameplay packets directly via UDP IP sockets once connected. However, a fast resolver can make lobby matchmaking, party connections and anti-cheat handshakes start sooner, because those steps look up hostnames first. Read our in-depth analysis in Best DNS Servers for Gaming (2026).

How do I flush my DNS cache after switching to a new resolver? +

On Windows, run ipconfig /flushdns in Command Prompt. On macOS, run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder in Terminal. On Linux, run sudo resolvectl flush-caches. For complete commands and browser cache clearing steps, see our guide on How to Flush DNS Cache on Windows, Mac, Linux & Chrome.

What Is a DNS Speed Checker?

A DNS speed checker (also referred to as a DNS speed test or DNS benchmark) measures the time it takes for a Domain Name System (DNS) resolver to translate a human-readable hostname (such as fastestdns.online) into a machine-routable IP address (such as 104.21.49.201). Because internet applications must obtain a destination IP address before initiating transport handshakes, DNS lookup latency directly influences how quickly website connections and initial resource requests begin.

Our online DNS speed test measures browser-observed resolution time in milliseconds (ms) directly from your client device using DNS-over-HTTPS (DoH, RFC 8484). By dispatching concurrent queries to multiple public resolvers across identical domain hostnames, the tool measures observed latency, round-trip variance, and response reliability from your current network connection.

How to Check DNS Speed Online

Running a DNS speed benchmark with our free online tool requires zero software installation, browser extensions, or administrative privileges. Follow these steps to measure resolver performance:

  1. Open the DNS Speed Checker: Access the tool on any modern desktop or mobile browser connected to your Wi-Fi, Ethernet, or mobile data connection.
  2. Review or Customize Target Hosts: By default, the benchmark queries 12 high-traffic global domains (including Google, Cloudflare, YouTube, and Wikipedia). Click Edit Hosts to select specific domains or input your own organization’s hostnames (up to 20 domains).
  3. Optionally Add Custom DoH Resolvers: If you operate a private resolver, Pi-hole, AdGuard Home instance, or NextDNS profile, click Custom DoH Servers to benchmark it alongside public resolvers (provided your endpoint supports valid HTTPS and standard Cross-Origin Resource Sharing).
  4. Select a Benchmark Profile: Choose the default Quick Test (10 scored rounds of IPv4 A-record queries) for fast comparison, or the Standard Test (15 rounds measuring both IPv4 A and IPv6 AAAA records) for deeper statistical sample density.
  5. Click “Check DNS Speed”: Your browser dispatches real DNS-over-HTTPS queries to each supported provider. Latency bars and median calculations update live as rounds complete.
  6. Review and Apply Results: Examine the ranked leaderboard. Click Configure on any provider to copy primary and secondary IPv4, IPv6, DoH, or DoT addresses directly to your router or operating system settings.

How Our DNS Benchmark Works

Unlike synthetic benchmarks that execute lookups from remote cloud datacenters (which measure data center peering rather than your local connection), our tool executes Real Speed Checks from Your Browser. Here is the technical methodology powering each measurement run:

  • Browser-Origin RFC 8484 Queries: The benchmark constructs binary DNS wire-format packets in TypeScript and dispatches them via standard browser fetch() requests with the application/dns-message content type straight to each resolver’s HTTPS endpoint. HTTP protocol negotiation (HTTP/2 or HTTP/3) is managed automatically by your browser’s native networking stack via ALPN.
  • Connection Warm-Up Rounds: Before recording scored metrics, the engine sends unscored warm-up queries. This allows the browser and resolver to complete TLS session establishment and TCP connection handshakes so initial connection setup overhead does not distort ongoing resolver response times.
  • Randomized Target Distribution: In every measurement round, all active resolvers receive queries for the exact same target domain, but in randomized order to prevent local network interface queuing bias.
  • RFC Protocol & Wire-Format Validation: Every received DNS wire response is decoded and verified for matching transaction IDs, correct query questions, and valid response codes (RCODE 0 for NOERROR). Failed queries, network drops, or HTTP error status codes are never counted as fast responses; they count as failures. Note that this verifies protocol semantics rather than performing cryptographic DNSSEC signature validation, which requires local trust-anchor validation logic.
  • Statistical Ranking by Median Latency: Resolvers are ranked by their median response time rather than a simple arithmetic average. Median metrics are mathematically resistant to transient local network packet spikes, providing an accurate representation of typical performance.
  • Statistical Similarity Detection: When two neighboring providers exhibit overlapping response time distributions, our engine performs a bootstrap resampling of median differences. If the 95% confidence interval of the median difference spans zero, they are flagged as “statistically similar” rather than declaring an arbitrary winner.
  • Reliability Gate: Providers must successfully answer at least 90% of dispatched queries to receive an official ranking. Resolvers experiencing severe packet loss or timeouts are marked as unreliable.

Understanding Your DNS Test Results

Each benchmark run generates detailed statistical telemetry. Use this reference guide to interpret your benchmark results accurately:

Metric Technical Meaning Real-World Significance
Median (ms) The 50th percentile response time across all valid completed queries. The primary indicator of typical speed. Exactly half of the lookups were faster, and half were slower.
Average (ms) The arithmetic mean of all completed query latencies. Reflects overall consistency; a significant divergence between median and average points to sporadic latency spikes.
P95 Latency (ms) The 95th percentile response time; 95% of queries completed faster than this value. Measures tail latency and potential stalls during peak network load or cache misses. Note that in small sample sizes (10–15 queries), P95 serves as an indicative sample percentile rather than a high-precision distribution tail.
Minimum (ms) The fastest single query recorded during the entire session. Indicates best-case performance when both the local network path and edge resolver cache are fully warm.
Maximum (ms) The slowest single completed query in the benchmark. Highlights cold resolver lookups, upstream recursive query traversal, or momentary Wi-Fi retries.
Reliability (%) The percentage of dispatched queries that returned a valid DNS answer. Critical for stability. A resolver with low latency that drops queries will cause frustrating connection timeouts. Note that filtering resolvers may intentionally return NXDOMAIN or 0.0.0.0 for blocked domains based on policy.

Why Consecutive Tests Can Show Different Results

If you run two consecutive tests and observe minor variations in response times (e.g., 22 ms vs 28 ms), this is expected. Factors causing normal variance include:

  • Resolver Edge Caching: If a requested domain record is already cached in the resolver’s RAM, response time includes only network round-trip transit and TLS decryption. If the cached record expired (TTL elapsed), the resolver must recurse to authoritative nameservers, adding network round-trips.
  • Local Wi-Fi Channel Contention: Wireless interference, physical obstructions, or concurrent background bandwidth usage can intermittently delay packet transmission over the local radio link.
  • Anycast BGP Routing: Public resolvers utilize BGP Anycast routing to announce identical IP addresses from global Points of Presence (PoPs). Upstream transit providers may dynamically route packets to different regional facilities based on routing health.

What Is a Good DNS Response Time?

There is no universal, scientifically absolute latency threshold because DNS response times depend heavily on physical connection type, geographic proximity to the nearest Anycast node, and transport protocol overhead. In general, browser-observed DoH response times fall into these illustrative contextual brackets:

  • Under 20 ms (Excellent): Typically observed on fiber-to-the-home (FTTH) or high-speed wired Ethernet connections where the resolver operates an Anycast Point of Presence within the same metropolitan area.
  • 20 ms – 45 ms (Good): Standard performance for residential broadband and stable Wi-Fi connections where queries travel to a regional network hub.
  • 45 ms – 85 ms (Acceptable): Typical performance on cellular mobile data (4G LTE/5G) or residential connections routing to an adjacent state or country.
  • 85 ms – 140 ms (Noticeable Latency): Sluggish response time. Web pages loading numerous third-party hostnames may experience slight delays before asset downloads commence.
  • Above 140 ms (Suboptimal): Indicates distant Anycast routing, international transit hops, or network congestion. Switching to a geographically proximate resolver will typically improve responsiveness.

How to Find the Fastest DNS Server

Because network topology varies by Internet Service Provider and location, the optimal resolver for a user in Frankfurt or London may differ substantially from the best choice for someone in New York, Tokyo, or Sydney. Finding the right resolver requires a methodical approach:

  1. Benchmark from Your Actual Device: Run the speed test on the specific computer, console, or mobile device and network connection you intend to configure.
  2. Test During Typical Usage Periods: Measure performance during peak evening hours when residential ISP lines experience the highest transit load.
  3. Balance Latency with Security and Privacy: Pure speed is only one dimension. For example, Quad9 may measure slightly higher latency than Cloudflare on certain connections, but its automated threat blocking shields your network from malicious domains.
  4. Verify System Configuration: After applying new DNS IPs on your router or device, consult our What Is My DNS Server? diagnostic guide to confirm that your active operating system traffic is routing through your chosen resolver.

DNS Speed and Internet Performance

A common misconception online is that changing your DNS server will increase your internet download or upload bandwidth. Here is how DNS actually interacts with internet performance:

DNS Does NOT Increase Bandwidth: Your maximum download capacity (such as downloading a large file or streaming video) is governed strictly by your physical network connection and ISP subscription speed tier. Changing your DNS resolver will not turn a 100 Mbps broadband plan into a 300 Mbps plan.

DNS Can Improve Perceived Browsing Snappiness: A modern website rarely loads from a single domain. Opening a typical media site or dashboard can trigger lookups across 30 to 80+ distinct hostnames for scripts, stylesheets, fonts, analytics, and third-party media. While modern web browsers resolve hostnames concurrently and reuse TCP/TLS connections via HTTP/2 and HTTP/3 multiplexing, reducing initial lookup delays across uncached domains helps browsers discover and initiate critical resource fetches sooner.

DNS and Online Gaming Ping: In online multiplayer gaming, in-game ping represents continuous UDP packet transit between your game client and the game server. Because DNS resolution occurs only once when establishing the initial lobby or matchmaking connection, changing DNS will not lower in-game ping. However, a reliable resolver prevents lobby connection dropouts and matchmaking lookup timeouts.

Popular Public DNS Providers

Public DNS resolvers offer free, high-performance alternatives to standard ISP-provided nameservers. Below is an overview of popular global providers (explore our full Public DNS Servers Directory for verified IPv4, IPv6, DoH, and DoT configurations):

  • Cloudflare (1.1.1.1 / 1.0.0.1): Operated in partnership with APNIC, Cloudflare consistently delivers low latency worldwide through its extensive global Anycast edge network spanning hundreds of cities, paired with a public privacy policy committing to prompt log deletion.
  • Google Public DNS (8.8.8.8 / 8.8.4.4): Established in 2009, Google Public DNS provides extensive global capacity, strong DDoS resilience, full DNSSEC validation, and EDNS Client Subnet (ECS) support for geo-distributed content routing.
  • Quad9 (9.9.9.9 / 149.112.112.112): A Swiss non-profit foundation that aggregates threat intelligence from numerous cybersecurity organizations to automatically block malware, phishing, and botnet domains at the resolver level.
  • Control D (76.76.2.0 / 76.76.10.0): A privacy-first resolver offering unfiltered, malware-blocking, and family-friendly configurations, with full support for modern encrypted protocols (DoH, DoT, DoQ).
  • AdGuard DNS (94.140.14.14 / 94.140.15.14): Provides system-level filtering of advertising networks, analytics tracking domains, and malicious websites without requiring client-side browser extensions.
  • OpenDNS / Cisco Umbrella (208.67.222.222 / 208.67.220.220): A veteran public resolver providing dependable resolution, anti-phishing safeguards, and customizable parental content filtering.

Why Use Fastest DNS?

Many online DNS tools display synthetic simulations or execute queries from remote cloud servers. Our DNS benchmark is designed for verifiable, client-centric accuracy:

  • Direct Browser-Origin Testing: Lookups originate directly from your web browser over your physical ISP connection.
  • RFC 8484 Compliant: Queries utilize standard binary DNS wire-format encapsulation over secure HTTPS.
  • Custom Host Selection: Tailor tests to your daily workflow by adding the exact domains and API endpoints your organization relies on.
  • Custom DoH Server Support: Benchmark private endpoints, Pi-hole setups, or internal enterprise resolvers side-by-side with public providers.
  • Privacy-Preserving Testing: We do not inspect, log, or store your DNS queries or benchmark scores on our servers. For general site operations, standard aggregate metrics are collected via Google Analytics and Cloudflare edge security (see our Privacy Policy).
  • No Software Downloads: Runs entirely in modern web browsers without extensions or elevated system permissions.

Frequently Asked Questions (FAQs)

What is a DNS speed checker?

A DNS speed checker is a network diagnostic tool that measures the response latency and reliability of Domain Name System resolvers. It dispatches DNS queries to multiple servers, times the round-trip interval in milliseconds, and identifies which resolver returns domain records most rapidly from your network location.

How does this DNS speed test measure speed?

When you click Check DNS Speed, your browser sends real DNS-over-HTTPS queries for test domains directly to each DNS provider and measures how long each complete, valid response takes. Each provider first receives unscored warm-up queries, followed by 10 scored rounds (15 in the Standard profile). Providers are ranked by median response time, and only resolvers answering at least 90% of queries are ranked.

Why are some DNS providers not tested in my browser?

Web browsers enforce Cross-Origin Resource Sharing (CORS) security rules. A browser can only read a DNS-over-HTTPS response if the resolver includes an Access-Control-Allow-Origin: * HTTP header. Resolvers such as Quad9 and NextDNS do not currently include this header on their public DoH endpoints. Rather than presenting simulated numbers, our tool transparently marks them as “not tested from this browser”. You can review their configurations in our Public DNS Directory and compare server-side probe data.

Is the fastest DNS in this test automatically the best choice for me?

Latency is important, but it is not the only consideration. You should also evaluate a provider’s privacy commitments (whether they retain IP query logs or monetize telemetry), threat filtering features (such as automated malware blocking), and reliability history. A resolver with 5 ms higher latency that actively blocks malicious phishing domains is often a superior everyday choice.

Which DNS server is fastest for my location?

For most global users, Cloudflare (1.1.1.1) and Google Public DNS (8.8.8.8) frequently deliver the lowest latency due to their extensive Anycast edge infrastructure. However, in specific metropolitan regions, regional providers like Control D, Quad9, or local ISP resolvers may deliver comparable or lower response times. Running our live browser benchmark determines the fastest option for your specific ISP path.

Can I test DNS speed on Android and iOS mobile devices?

Yes. Our DNS speed checker is fully responsive and runs in any modern mobile browser (Chrome, Safari, Firefox, Edge) on Android, iPhone, and iPad. Simply access the site on your mobile device over Wi-Fi or cellular data and tap Check DNS Speed.

Does the tool test my current ISP DNS server?

Traditional ISP resolvers operate over unencrypted UDP port 53. Because web browsers run inside a sandboxed environment and cannot dispatch raw UDP sockets or inspect OS network adapter settings, your browser cannot directly benchmark your default ISP DNS unless your ISP exposes a public DNS-over-HTTPS endpoint with open CORS headers. To determine which resolver your operating system is currently using, consult our step-by-step What Is My DNS Server? guide.

Can I add a custom DNS server to the benchmark?

Yes. Click the Custom DoH Servers button above the leaderboard. Enter a friendly name and a valid HTTPS DoH endpoint (such as your private Pi-hole, AdGuard Home, or NextDNS URL). As long as your endpoint is served over valid HTTPS and returns standard CORS headers, our engine will benchmark it alongside public providers. Note that browser Private Network Access rules may restrict public websites from directly querying local RFC 1918 private IP addresses.

How to Check for DNS Leaks When Using a VPN in 2025?

A DNS leak occurs when your computer or mobile device accidentally routes DNS requests through your local ISP or unencrypted default gateway instead of the encrypted VPN tunnel, exposing the hostnames of websites you visit. In 2025, modern encrypted operating system features and split-tunneling configurations make auditing for leaks essential. To test for leaks: connect to your VPN, verify your external IP has changed, and review our dedicated DNS Leak Test Guide to confirm your queries are handled exclusively by your VPN provider's private recursive resolvers.

What Causes DNS Propagation Delays After Updating Nameservers?

DNS propagation is not an active “broadcast” across the globe; rather, it is the passive expiration of cached records across thousands of independent recursive resolvers. The primary cause of propagation delay is the Time-to-Live (TTL) setting configured on the previous DNS records. If your old nameserver record had an 86,400-second (24-hour) TTL, recursive resolvers worldwide are permitted to serve that stale cached record for up to 24 hours before querying your new authoritative nameservers. To minimize downtime before updating nameservers, lower your TTL to 300 seconds (5 minutes) at least 24 hours in advance.

Best Free DNS Speed Test Tools for Comparing Providers Like Cloudflare and Google

Comparing top public resolvers like Cloudflare (1.1.1.1) and Google (8.8.8.8) helps identify the lowest latency path for your specific ISP routing. Leading free benchmarking tools include Fastest DNS (our browser-based DoH tester measuring real client latency without software installations), GRC DNS Benchmark (a legacy Windows utility for local UDP testing), and DNSPerf (which aggregates synthetic performance metrics from worldwide data centers). For real-world everyday browsing, running tests directly from your actual client device provides the most accurate and actionable measurement.

How Long Does DNS Propagation Take for a New Domain Registration?

For newly registered domain names that have never had existing cached records on recursive resolvers, DNS propagation is usually very rapid—often resolving globally within 15 minutes to 2 hours. However, registry-level updates at the Top-Level Domain (TLD) nameservers (.com, .org, .io) and variations in regional ISP resolver caching policies can occasionally extend full worldwide propagation up to 24–48 hours.

How to Fix DNS Leaks Showing Google Servers Instead of My ISP?

If your network diagnostics show Google DNS IPs (8.8.8.8 / 8.8.4.4) instead of your intended ISP or VPN resolver, your system is likely experiencing one of three common configuration overrides: First, modern web browsers (Chrome, Edge, Firefox) often enable “Secure DNS” by default, which overrides operating system network settings to route queries directly to Google or Cloudflare over DoH. Disable or adjust Secure DNS in your browser settings. Second, your home router may have Google DNS configured as its WAN fallback. Third, your VPN client may lack IPv6 leak protection, causing IPv6 DNS traffic to leak outside the tunnel. Consult our DNS Leak Test Guide for platform-specific mitigation steps.

Related Guides & Resources

Explore our companion DNS tools and educational tutorials to further optimize your network performance and digital privacy:

Editorial deep-dives & recent guides

Practical, fact-checked writing on DNS performance and privacy from our engineering team.

All guides →