ECS(EDNS客户端子网)
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客户端子网(ECS,RFC 7871)是一种[[dns|DNS]]扩展,允许[[dns-resolver|递归解析器]]在向[[authoritative-dns|权威名称服务器]]发送查询时包含客户端IP地址的部分信息。这使CDN和基于地理位置的DNS能够返回距离最终用户(而非解析器)最近的服务器。ECS涉及隐私权衡:它提升了内容分发性能,但会将部分IP数据共享给解析器之外的服务器。
示例
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.