arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.06131cs.NI
收藏

通过截断、分片与 DoTCP 回退评估 DNS 的弹性和响应能力

Evaluating DNS Resiliency and Responsiveness with Truncation, Fragmentation & DoTCP Fallback

Pratyush Dikshit, Mike Kosek, Nils Faulhaber, Jayasree Sengupta, Vaibhav Bajpai

AI总结:

本文基于2527个 RIPE Atlas Probe 的1400余万次测量,评估10个公共 DNS 解析器在 IPv4/IPv6 上的 DoUDP/DoTCP 弹性与响应,揭示超大 EDNS(0) 缓冲区及缺乏 DoTCP 回退导致的分片风险。

摘要:

自1987年问世以来,DNS 已成为互联网的核心组成部分之一。尽管其设计同时支持 TCP 和 UDP,但由于开销较低,DNS-over-UDP(DoUDP)已成为默认选择。随着新的资源记录被引入,DNS 响应的大小显著增加。近年来,这种报文体的扩张更频繁地导致截断和 IP 分片问题;大型 UDP 响应使 DNS 成为放大拒绝服务攻击的便捷载体,从而可能降低 DNS 服务的弹性。本文针对10个广泛使用的公共 DNS 解析器,调查其在 IPv4 和 IPv6 上使用 DoTCP 与 DoUDP 时的弹性、响应能力及使用情况。在这些实验中,研究从互联网边缘和核心两个角度考察上述方面,以呈现解析器与 DNS 客户端及权威名称服务器之间的通信。总体而言,研究分析了来自2527个 RIPE Atlas Probe 的超过1400万次独立测量,结果表明大多数解析器在 DoTCP 和 DoUDP 上表现出相似的弹性。尽管 DNS Flag Day 2020 建议缓冲区大小为1232字节,但我们发现10个解析器中有3个在边缘和核心侧都主要通告非常大的 EDNS(0) 缓冲区大小,这可能导致分片。针对来自权威名称服务器的大型响应,我们发现解析器在许多情况下不会回退到使用 DoTCP,从而承担响应被分片的风险。随着 DNS 中的消息大小预计将进一步增长,该问题在未来会变得更加紧迫。

英文摘要:

Since its introduction in 1987, the DNS has become one of the core components of the Internet. While it was designed to work with both TCP and UDP, DNS-over-UDP (DoUDP) has become the default option due to its low overhead. As new Resource Records were introduced, the sizes of DNS responses increased considerably. This expansion of message body has led to truncation and IP fragmentation more often in recent years where large UDP responses make DNS an easy vector for amplifying denial-of-service attacks which can reduce the resiliency of DNS services. This paper investigates the resiliency, responsiveness, and usage of DoTCP and DoUDP over IPv4 and IPv6 for 10 widely used public DNS resolvers. In these experiments, these aspects are investigated from the edge and from the core of the Internet to represent the communication of the resolvers with DNS clients and authoritative name servers. Overall, more than 14M individual measurements from 2527 RIPE Atlas Probes have been analyzed, highlighting that most resolvers show similar resiliency for both DoTCP and DoUDP. While DNS Flag Day 2020 recommended 1232 bytes of buffer sizes yet we find out that 3 out of 10 resolvers mainly announce very large EDNS(0) buffer sizes both from the edge as well as from the core, which potentially causes fragmentation. In reaction to large response sizes from authoritative name servers, we find that resolvers do not fall back to the usage of DoTCP in many cases, bearing the risk of fragmented responses. As the message sizes in the DNS are expected to grow further, this problem will become more urgent in the future.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑