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

在DNS响应规模不断增长的时代,通过TCP来衡量DNS:边缘视角

Measuring DNS over TCP in the Era of Increasing DNS Response Sizes: A View from the Edge

Mike Kosek, Trinh Viet Doan, Simon Huber, Vaibhav Bajpai

摘要:

域名系统(DNS)是互联网最重要的组成部分之一。虽然最初的标准定义了DNS over UDP(DoUDP)和DNS over TCP(DoTCP)的使用,但UDP已成为DNS中使用的主要协议。随着新资源记录(RR)的引入,DNS响应的大小大幅增加。由于这可能导致截断或IP碎片,因此标准要求的DoTCP回退通过克服DoUDP的大小限制来确保成功的DNS响应。然而,到目前为止,存根解析器使用DoTCP的影响还没有得到广泛的研究。我们通过从边缘在DoTCP上展示一个视图来缩小这一差距,从2,500个探测器向公共以及探测DNS递归解析器发出12.1M DNS请求。在我们的测量研究中,我们观察到DoTCP通常比DoUDP慢,对于大多数解析器,响应时间的相对增加小于37%。虽然可以利用DoTCP的优化来进一步减少响应时间,但我们表明,对公共解析器的支持仍然缺失,因此为未来的优化留下了空间。此外,我们还发现,公共解析器一般具有可比的可靠性DoTCP和DoUDP。然而,探测解析器显示出明显不同的行为:针对探测解析器的DoTCP查询在4种情况中有3种失败,因此不符合标准。这个问题在未来只会加剧:随着DNS响应大小的不断增长,对DoTCP的需求将更加强烈。

英文摘要:

The Domain Name System (DNS) is one of the most crucial parts of the Internet. Although the original standard defined the usage of DNS over UDP (DoUDP) as well as DNS over TCP (DoTCP), UDP has become the predominant protocol used in the DNS. With the introduction of new Resource Records (RRs), the sizes of DNS responses have increased considerably. Since this can lead to truncation or IP fragmentation, the fallback to DoTCP as required by the standard ensures successful DNS responses by overcoming the size limitations of DoUDP. However, the effects of the usage of DoTCP by stub resolvers are not extensively studied to this date. We close this gap by presenting a view at DoTCP from the Edge, issuing 12.1M DNS requests from 2,500 probes toward Public as well as Probe DNS recursive resolvers. In our measurement study, we observe that DoTCP is generally slower than DoUDP, where the relative increase in Response Time is less than 37% for most resolvers. While optimizations to DoTCP can be leveraged to further reduce the response times, we show that support on Public resolvers is still missing, hence leaving room for optimizations in the future. Moreover, we also find that Public resolvers generally have comparable reliability for DoTCP and DoUDP. However, Probe resolvers show a significantly different behavior: DoTCP queries targeting Probe resolvers fail in 3 out of 4 cases, and, therefore, do not comply with the standard. This problem will only aggravate in the future: As DNS response sizes will continue to grow, the need for DoTCP will solidify.

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

↑