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.
RFC 6891定义的EDNS(DNS扩展机制)扩展了原始[[dns|DNS]]协议,以支持超过原规范512字节UDP限制的消息,从而启用[[dnssec|DNSSEC]]签名、更大的资源记录和新的选项代码。EDNS0(版本0)引入了OPT伪记录,携带通告的负载大小(通常4096字节或更大)和选项标志(包括DO即DNSSEC OK位)。没有EDNS支持,解析器和权威服务器无法协商大型响应,只能回退到TCP,导致延迟增加。EDNS客户端子网(ECS)是一个扩展,将截断的客户端IP传递给权威服务器,以实现地理定向响应。
示例
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.