ECS (EDNS Client Subnet)
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/ecs/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/ecs/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/ecs/)
Use the native HTML custom element.
EDNS Client Subnet (ECS, RFC 7871) is a [[dns|DNS]] extension that allows [[dns-resolver|recursive resolvers]] to include a partial client IP address in queries to [[authoritative-dns|authoritative nameservers]]. This enables CDNs and geolocation-based DNS responses to return servers closest to the end user rather than the resolver. ECS involves a privacy trade-off: it improves content delivery performance but shares partial IP data beyond the resolver.
Example
Google's CDN uses ECS to detect that a user in Tokyo is querying via a US-based resolver, and returns Japanese edge server IPs instead of US ones.