Benchmark-Anything / DoH DNS
VERIFIED TELEMETRY · DNS-OVER-HTTPS (DOH) RESOLVERS · 2026-12-01T19:54:05Z

Best Public DoH DNS Resolvers 2026

Public DoH resolvers differ substantially across TLS setup, peering, and JSON schema hygiene — and advertised resolvers like Quad9 port 5053 can time out or drop TLS under real network paths.

Fastest Measured P95
1239.4 ms
Google Public DNS DoH (8.8.8.8)
Live Anti-Fake-200 Rate
100.0%
6 live measured · 0 BYOK template(s)
Lowest Verified Cost
$0.00 (Public)
effective_cost_per_verified_hit_usd
Verified Card SHA-256
1c78c10638bc50…
Verifiable via POST /mcp
Zero BYOK Key & Test-Log Resale Pledge: Caller BYOK credentials, custom headers, request payloads, and benchmark test logs are strictly redacted in memory and are never resold, shared with third parties, or used for model training. Strictly $0 charged on invalid HTTP 422 requests, SSRF blocks, or runs with 0 verified hits.

Measured Latency, Anti-Fake-200 & Effective Cost Table (2026)

Live public endpoints below were probed via Benchmark-Anything Loop 3 Gauntlet at 2026-12-01T19:54:05Z with strict public-egress SSRF checks, payload schema validation, and anti-fake-200 inspection. Commercial BYOK targets display documented unit pricing and execute live with your own redacted key at benchmark.fastmesh.dev.

Rank Endpoint & Mode P50 P95 P99 Success Rate Anti-Fake-200 Listed Price Effective Cost / Verified Hit
#1Google Public DNS DoH (8.8.8.8)
LIVE MEASURED https://dns.google/resolve?name=example.com&type=A
1237.8 ms1239.4 ms1239.6 ms100.0%100.0%
fake-200: 0.0%
$0.0000004
bills fail: No
$0.0000004
#2Cloudflare Malware-Blocking DoH (1.1.1.2)
LIVE MEASURED https://security.cloudflare-dns.com/dns-query?name=example.com&type=A
1239.2 ms1245.7 ms1246.3 ms100.0%100.0%
fake-200: 0.0%
$0.0000004
bills fail: No
$0.0000004
#3AliDNS Public DoH (223.5.5.5)
LIVE MEASURED https://dns.alidns.com/resolve?name=example.com&type=A
1321.4 ms1327.4 ms1327.9 ms100.0%100.0%
fake-200: 0.0%
$0.0000005
bills fail: No
$0.0000005
#4DNS.SB Public DoH
LIVE MEASURED https://doh.sb/dns-query?name=example.com&type=A
1598.5 ms1613.7 ms1615.1 ms100.0%100.0%
fake-200: 0.0%
$0.00 (Public)
bills fail: No
$0.00 (Public)
#5Cloudflare Mozilla TRR DoH
LIVE MEASURED https://mozilla.cloudflare-dns.com/dns-query?name=example.com&type=A
1453.0 ms1628.2 ms1643.8 ms100.0%100.0%
fake-200: 0.0%
$0.0000004
bills fail: No
$0.0000004
#6Cloudflare Public DoH (1.1.1.1)
LIVE MEASURED https://cloudflare-dns.com/dns-query?name=example.com&type=A
1452.5 ms1652.1 ms1669.8 ms100.0%100.0%
fake-200: 0.0%
$0.0000004
bills fail: No
$0.0000004

Resolver Diagnostic: Diagnostic note: Quad9 JSON DoH (`https://dns.quad9.net:5053/dns-query?name=example.com&type=A`) timed out after `5002.7 ms` (`reason=timeout`) from the measurement host during Loop 3 Gauntlet verification and is therefore excluded from active #1 rankings.

Anti-Fake-200, Retry-Tax & Cryptographic Verification Evidence

Google Public DNS DoH (8.8.8.8) recorded the lowest measured P95 latency at 1239.4 ms (P50 1237.8 ms, P99 1239.6 ms) with 100.0% verified hit rate and 100.0% anti-fake-200 pass rate. Lowest verified cost among live targets: DNS.SB Public DoH at $0.00 (Public) per verified hit.

Controlled Anti-Fake-200 HTML/WAF Torture (`G07`, card `card_fdfc1976c83d28fd`): 6/6 fake-200 traps (Cloudflare challenge HTML, captcha page, and DoH HTML interstitial) were caught (100.0% fake-200 detection rate, 0 false verified hits) with strictly `$0` charged (`charged_micros=0`).

Controlled HTTP 429/503 Rate-Limit & Outage Torture (`G09`, card `card_609becb3afee9bec`): 6/6 upstream HTTP 429 and 503 failures were classified accurately (`verified_hits=0`, `effective_cost_per_verified_hit_usd=null`) with strictly `$0` billed (`charged_micros=0`).

Buyer Use Case: Network engineers, VPN/browser teams, and multi-region SaaS operators ranking public DoH resolvers for primary and failover DNS-over-HTTPS resolution.

Tamper-Evident SHA-256 Card Digests

G01_live_doh_dns (card_a824be2432aec4d9, 2026-12-01T19:54:05Z): 1c78c10638bc50895547b8237c1bed2f65632aa0fcdcb7b36747cb55a41bbfdf
G07_fault_fake200_html (card_fdfc1976c83d28fd, 2026-12-01T19:54:41Z): a87061092ede3c4206d667a121002193e83b2a9d0e8439e8d563485a43ae7eff

Reproduce This Benchmark via REST API or MCP JSON-RPC 2.0

Run your own URLs or verify any card digest using POST https://benchmark.fastmesh.dev/v1/benchmark/run, POST https://benchmark.fastmesh.dev/mcp (tools: benchmark_run, benchmark_verify_card, leaderboard_list, leaderboard_render), Treg Hub (treg call benchmark-anything), or Causal Bazaar hand hand_b04_benchmark_anything_v1 ($0.15/verified run, $0 on failure).

curl -sS -X POST https://benchmark.fastmesh.dev/v1/benchmark/run \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Best Public DoH DNS Resolvers 2026",
  "track": "doh_dns",
  "samples_per_target": 5,
  "concurrency": 3,
  "timeout_s": 8,
  "targets": [
    {
      "id": "doh_google_public",
      "name": "Google Public DNS DoH (8.8.8.8)",
      "protocol": "doh_dns",
      "url": "https://dns.google/resolve?name=example.com&type=A",
      "listed_price_usd": 4e-07,
      "bills_on_failure": false,
      "headers": {
        "Accept": "application/dns-json"
      },
      "expected_keys": [
        "Status",
        "Answer"
      ],
      "query_name": "example.com",
      "query_type": "A"
    },
    {
      "id": "doh_cloudflare_security",
      "name": "Cloudflare Malware-Blocking DoH (1.1.1.2)",
      "protocol": "doh_dns",
      "url": "https://security.cloudflare-dns.com/dns-query?name=example.com&type=A",
      "listed_price_usd": 4e-07,
      "bills_on_failure": false,
      "headers": {
        "Accept": "application/dns-json"
      },
      "expected_keys": [
        "Status",
        "Answer"
      ],
      "query_name": "example.com",
      "query_type": "A"
    },
    {
      "id": "doh_alidns_public",
      "name": "AliDNS Public DoH (223.5.5.5)",
      "protocol": "doh_dns",
      "url": "https://dns.alidns.com/resolve?name=example.com&type=A",
      "listed_price_usd": 5e-07,
      "bills_on_failure": false,
      "headers": {
        "Accept": "application/dns-json"
      },
      "expected_keys": [
        "Status",
        "Answer"
      ],
      "query_name": "example.com",
      "query_type": "A"
    }
  ]
}'

Flat-Fee Prepaid Creem Credit Packs (Non-Expiring)

Fixed non-contingent prepaid software packs for continuous CI/CD and vendor SLA benchmarks. Zero recurring seat tax, 10% repeat-tenant ArchiveCache pricing on identical runs, and strictly $0 deducted on invalid or zero-verified-hit runs.

STARTER · sku_b04_starter_19
$19
250 non-expiring prepaid runs · $0.0760/run
Buy Starter Pack — $19 (250 Runs)
SCALE · sku_b04_scale_249
$249
6,500 non-expiring prepaid runs · $0.0383/run
Buy Scale Pack — $249 (6,500 Runs)

Frequently Asked Questions

Which endpoint performed fastest in Best Public DoH DNS Resolvers 2026?

Google Public DNS DoH (8.8.8.8) recorded the lowest measured P95 latency at 1239.4 ms (P50 1237.8 ms, P99 1239.6 ms) with 100.0% verified hit rate and 100.0% anti-fake-200 pass rate. Lowest verified cost among live targets: DNS.SB Public DoH at $0.00 (Public) per verified hit. Verified at 2026-12-01T19:54:05Z under SHA-256 card digest 1c78c10638bc50895547b8237c1bed2f65632aa0fcdcb7b36747cb55a41bbfdf.

How does Benchmark-Anything catch fake HTTP 200 responses and calculate anti-fake-200 rates?

Every HTTP 200 response body is inspected for WAF/Cloudflare challenges, captcha or login walls, empty payloads, embedded JSON error envelopes, non-zero DoH DNS status codes, JSON-RPC 2.0 error or isError flags, and empty OpenAI-compatible choices arrays. In controlled Gauntlet verification (`G07_fault_fake200_html`, SHA-256 `a87061092ede3c42...`), 100% of injected soft failures were rejected.

How is effective_cost_per_verified_hit_usd calculated when APIs bill on failure?

When bills_on_failure is true, effective_cost_per_verified_hit_usd equals (listed_price_usd * total_probes) / verified_hits. When bills_on_failure is false, it equals listed_price_usd. If verified_hits is 0, effective cost is null and Benchmark-Anything strictly charges $0 (charged_micros == 0) for the benchmark run.

Are BYOK API keys, custom headers, or benchmark test logs stored or resold?

Caller BYOK credentials, custom headers, request payloads, and benchmark test logs are strictly redacted in memory and are never resold, shared with third parties, or used for model training.

Related 2026 Verified Benchmark Leaderboards