EDNS (กลไกขยาย DNS)
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/edns/" 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/edns/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/edns/)
Use the native HTML custom element.
EDNS (Extension Mechanisms for DNS) ตามที่กำหนดใน RFC 6891 ขยายโปรโตคอล [[dns|DNS]] เดิมให้รองรับข้อความที่ใหญ่กว่าขีดจำกัด UDP 512 ไบต์ของข้อกำหนดเดิม ทำให้ใช้ลายเซ็น [[dnssec|DNSSEC]], resource record ขนาดใหญ่ และ option code ใหม่ได้ EDNS0 (เวอร์ชัน 0) แนะนำ OPT pseudo-record ที่บรรจุขนาด payload ที่โฆษณา (โดยทั่วไปคือ 4096 ไบต์หรือมากกว่า) และ option flag รวมถึงบิต DO (DNSSEC OK) หากไม่มีการรองรับ EDNS, resolver และ authoritative server ไม่สามารถเจรจา response ขนาดใหญ่และต้องย้อนกลับไปใช้ TCP ส่งผลให้มี latency เพิ่มขึ้น EDNS Client Subnet (ECS) คือ extension ที่ส่ง client IP ที่ถูกตัดให้กับ authoritative server เพื่อให้สามารถตอบสนองตามพื้นที่ทางภูมิศาสตร์ได้
ตัวอย่าง
When a resolver queries for a DNSSEC-signed zone, it sends an OPT record advertising EDNS0 with the DO bit set and a buffer size of 4096 bytes, signaling it can handle the large RRSIG and DNSKEY records in the response.