ECS Answer | TTL (s) | Plain Answer | TTL (s) |
---|---|---|---|
{{ row.data }} | {{ row.ttl }} | {{ answersPlain[i]?.data || '—' }} | {{ answersPlain[i]?.ttl || '—' }} |
{{ formattedJSON }}
The Extension Mechanisms for DNS client-subnet option lets recursive resolvers append a truncated segment of the requester’s address to upstream queries. Authoritative servers and anycast delivery platforms can then return responses aligned with the caller’s presumed location, improving latency and routing accuracy yet splintering cache efficiency across networks.
This tester submits two DNS-over-HTTPS look-ups—one that carries the client-subnet prefix and one that omits it—then compares answer sets, time-to-live values, and round-trip durations. You supply a domain, a record type, and optionally a subnet prefix; the reactive engine times and parses each exchange, exposing disparities in a side-by-side table and raw JSON view.
Network engineers, CDN architects, or security teams use the comparison to verify geo-routing policies, audit cache divergence, and spot regional outage patterns. Use caution when interpreting large TTL gaps; upstream zone files might differ rather than the EDNS behavior alone.
EDNS client-subnet (RFC 7871) extends standard DNS with a location hint—an IP prefix—enabling upstream resolvers to tailor answers for the requester’s region. Public DNS-over-HTTPS endpoints accept a edns_client_subnet
query string, match the prefix against their cache, and return address records plus remaining TTL. Key variables include query name (QNAME), record type (QTYPE), client prefix (ECS), and measured response time (t).
edns_client_subnet=<IP>/<len>
, one without.Answer
array into data strings and TTL integers.TTL Band (s) | Typical Meaning |
---|---|
0 – 300 | Highly volatile, likely geo-steered edge records |
301 – 1 800 | Short-lived balancing or fail-over records |
1 801 – 86 400 | Standard authoritative zone values |
> 86 400 | Static infrastructure or vanity domains |
Shorter TTLs increase request volume but allow rapid routing shifts; longer TTLs favour cache efficiency over agility.
Parameter | Meaning | Typical Range |
---|---|---|
domain | Fully-qualified domain to resolve | any valid DNS label |
type | Record class requested | A | AAAA | CNAME | MX | NS | TXT |
client_ip | Subnet base for ECS hint | IPv4 / IPv6 address |
prefix_length | Bits from client_ip sent upstream | 0 – 32 (IPv4), 0 – 128 (IPv6) |
Query example.com
A with ECS 1.2.3.0/24
:
The ECS query reached a geographically closer cache, shaving 16 ms off round-trip time while returning the same address set.
Key references include RFC 7871 (EDNS0 Client Subnet), RFC 8484 (DNS-over-HTTPS), and peer evaluations of CDN cache localisation strategies in ACM SIGCOMM and NDSS proceedings.
The tester transmits query details to public DNS-over-HTTPS services; no user data is stored after the session ends.
Follow these steps to compare DNS answers with and without a client-subnet hint:
A
or MX
.The client-subnet option truncates your address and embeds it in a DNS query so upstream servers can choose location-aware answers.
Side-by-side responses reveal whether location hints change record sets, TTLs, or latency, helping diagnose CDN behaviour and cache splits.
No persistent logs are kept by the tool; queries transit directly to the public resolver and are not saved by the page after completion.
The tester targets a major public DNS-over-HTTPS service known for stable ECS support; you can fork the code to point elsewhere if needed.
Only a prefix—not your full address—is sent; the effective anonymity depends on prefix length and ISP subnet size.