# DNS-over-HTTPS P99 Tail Latency Benchmark 2026

> **Canonical HTML:** https://benchmark.fastmesh.dev/seo_geo/doh-dns-p99-tail-latency-benchmark-2026.html
> **Track:** `doh_dns` (DNS-over-HTTPS (DoH) Resolvers)
> **Measured At (UTC):** `2026-12-01T19:54:05Z`
> **Primary Card SHA-256:** `1c78c10638bc50895547b8237c1bed2f65632aa0fcdcb7b36747cb55a41bbfdf`
> **Try-Now Storefront:** https://benchmark.fastmesh.dev/
> **Zero-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.

## Why Teams Benchmark This Track

Median DNS figures conceal 300ms–400ms P99 spreads between tight resolvers like Google Public DNS (1239.6 ms P99) and higher-jitter endpoints, stalling connection setup in tight timeout budgets.

**Target Buyer Use Case:** SREs diagnosing sporadic cold-TLS connection stalls and cross-region anycast tail-latency jitter in serverless and microservice egress pools.

**Headline Finding:** 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.

---

## Measured Comparison Table (2026)

| Rank | Endpoint | P50 | P95 | P99 | Success Rate | Anti-Fake-200 | Listed Price | Effective Cost / Verified Hit |
|---|---|---|---|---|---|---|---|---|
| #1 | Google Public DNS DoH (8.8.8.8) (`LIVE`) | 1237.8 ms | 1239.4 ms | 1239.6 ms | 100.0% | 100.0% (fake-200: 0.0%) | $0.0000004 (bills_on_failure=No) | $0.0000004 |
| #2 | Cloudflare Malware-Blocking DoH (1.1.1.2) (`LIVE`) | 1239.2 ms | 1245.7 ms | 1246.3 ms | 100.0% | 100.0% (fake-200: 0.0%) | $0.0000004 (bills_on_failure=No) | $0.0000004 |
| #3 | AliDNS Public DoH (223.5.5.5) (`LIVE`) | 1321.4 ms | 1327.4 ms | 1327.9 ms | 100.0% | 100.0% (fake-200: 0.0%) | $0.0000005 (bills_on_failure=No) | $0.0000005 |
| #4 | DNS.SB Public DoH (`LIVE`) | 1598.5 ms | 1613.7 ms | 1615.1 ms | 100.0% | 100.0% (fake-200: 0.0%) | $0.00 (Public) (bills_on_failure=No) | $0.00 (Public) |
| #5 | Cloudflare Public DoH (1.1.1.1) (`LIVE`) | 1452.5 ms | 1652.1 ms | 1669.8 ms | 100.0% | 100.0% (fake-200: 0.0%) | $0.0000004 (bills_on_failure=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 & Cryptographic Verification Evidence

- 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`).

### Tamper-Evident SHA-256 Card Digests

- `G01_live_doh_dns` (`card_a824be2432aec4d9`, measured `2026-12-01T19:54:05Z`): SHA-256 `1c78c10638bc50895547b8237c1bed2f65632aa0fcdcb7b36747cb55a41bbfdf`
- `G09_fault_429_503` (`card_609becb3afee9bec`, measured `2026-12-01T19:54:41Z`): SHA-256 `d82a60f2a29ed644aeb4364687f2fefdce23b437d1158ab4e2759abccd162db5`

Verify any card digest in constant time via `POST https://benchmark.fastmesh.dev/mcp` (`tools/call` -> `benchmark_verify_card`).

---

## Reproduce Live (`POST /v1/benchmark/run`)

```bash
curl -sS -X POST https://benchmark.fastmesh.dev/v1/benchmark/run \
  -H "Content-Type: application/json" \
  -d '{
  "title": "DNS-over-HTTPS P99 Tail Latency Benchmark 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"
    }
  ]
}'
```

- **Try-Now Interactive Runner:** https://benchmark.fastmesh.dev/
- **MCP JSON-RPC 2.0 Endpoint:** `POST https://benchmark.fastmesh.dev/mcp` (see [https://benchmark.fastmesh.dev/skill.md](https://benchmark.fastmesh.dev/skill.md))
- **Treg Hub 1-Line Bridge:** `treg call benchmark-anything` (`$0.15` verified run, `$0` on error or `0` verified hits)
- **Causal Bazaar Hand:** `hand_b04_benchmark_anything_v1` (`$0.15` / `150000` micros per fresh verified run)

---

## Prepaid Creem Credit Packs (https://benchmark.fastmesh.dev/#pricing)

| Pack | SKU | Flat Fee | Included Runs | Effective Cost / Run | Link |
|---|---|---|---|---|---|
| Starter Pack | `sku_b04_starter_19` | `$19` | 250 non-expiring runs | `$0.0760` | https://benchmark.fastmesh.dev/#pricing |
| Growth Pack | `sku_b04_growth_79` | `$79` | 1,500 non-expiring runs | `$0.0527` | https://benchmark.fastmesh.dev/#pricing |
| Scale Pack | `sku_b04_scale_249` | `$249` | 6,500 non-expiring runs | `$0.0383` | https://benchmark.fastmesh.dev/#pricing |

Fixed non-contingent prepaid software credit packs; strictly `$0` charged on HTTP `422` invalid requests, SSRF blocks, or `0`-verified-hit runs.

---

## Frequently Asked Questions

### Which endpoint performed fastest in DNS-over-HTTPS P99 Tail Latency Benchmark 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 (`G09_fault_429_503`, SHA-256 `d82a60f2a29ed644...`), 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 Verified Benchmarks

- [Best Public DoH DNS Resolvers 2026](https://benchmark.fastmesh.dev/seo_geo/best-doh-dns-resolvers-2026.html) ([Markdown](https://benchmark.fastmesh.dev/seo_geo/best-doh-dns-resolvers-2026.md)) — DoH DNS
- [Cloudflare vs Google vs AliDNS DoH JSON Benchmark 2026](https://benchmark.fastmesh.dev/seo_geo/cloudflare-vs-google-vs-alidns-doh-benchmark-2026.html) ([Markdown](https://benchmark.fastmesh.dev/seo_geo/cloudflare-vs-google-vs-alidns-doh-benchmark-2026.md)) — DoH DNS
- [Best Security-Filtering DoH DNS Resolvers 2026](https://benchmark.fastmesh.dev/seo_geo/best-security-filtering-doh-resolvers-2026.html) ([Markdown](https://benchmark.fastmesh.dev/seo_geo/best-security-filtering-doh-resolvers-2026.md)) — DoH DNS
- [Best Package Registry Metadata APIs 2026](https://benchmark.fastmesh.dev/seo_geo/best-package-registry-metadata-apis-2026.html) ([Markdown](https://benchmark.fastmesh.dev/seo_geo/best-package-registry-metadata-apis-2026.md)) — REST JSON APIs
- [Best U.S. Government Open Data JSON APIs 2026](https://benchmark.fastmesh.dev/seo_geo/best-public-government-open-data-apis-2026.html) ([Markdown](https://benchmark.fastmesh.dev/seo_geo/best-public-government-open-data-apis-2026.md)) — REST JSON APIs
- [REST JSON API Fake-200 & P99 Benchmark 2026](https://benchmark.fastmesh.dev/seo_geo/rest-json-api-fake-200-p99-benchmark-2026.html) ([Markdown](https://benchmark.fastmesh.dev/seo_geo/rest-json-api-fake-200-p99-benchmark-2026.md)) — REST JSON APIs

---

Contact: `benchmark@fastmesh.dev` | Ops: `ops@fastmesh.dev` | Index: https://benchmark.fastmesh.dev/llms.txt
