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) คือส่วนขยาย [[dns|DNS]] ที่ช่วยให้ [[dns-resolver|recursive resolver]] สามารถรวมส่วนหนึ่งของ IP address ของ client ไว้ใน query ที่ส่งไปยัง [[authoritative-dns|authoritative nameserver]]. ซึ่งช่วยให้ CDN และ DNS ที่ใช้ geolocation ส่งคืนเซิร์ฟเวอร์ที่ใกล้กับผู้ใช้ปลายทางมากที่สุดแทน resolver. ECS มีการแลกเปลี่ยนด้านความเป็นส่วนตัว: ช่วยปรับปรุงประสิทธิภาพการส่งเนื้อหาแต่แบ่งปันข้อมูล IP บางส่วนเกินกว่า resolver.
ตัวอย่าง
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.