The DNS is a key component of the Internet. Originally designed to facilitate the resolution of host names to IP addresses, its scope has continuously expanded over the years, today covering use cases such as load balancing or service discovery. While DNS was initially conceived as a rather static directory service in which resource records (RR) only change rarely, we have seen a number of use cases over the years where a DNS flavor that isn't purely based upon requesting and caching RRs, but rather on an active distribution of updates for all resolvers that showed interest in the respective records in the past, would be preferable. In this paper, we thus explore a publish-subscribe variant of DNS based on the Media-over-QUIC architecture, where we devise a strawman system and protocol proposal to enable pushing RR updates. We provide a prototype implementation, finding that DNS can benefit from a publish-subscribe variant: next to limiting update traffic, it can considerably reduce the time it takes for a resolver to receive the latest version of a record, thereby supporting use cases such as load balancing in content distribution networks. The publish-subscribe architecture also brings new challenges to the DNS, including a higher overhead for endpoints due to additional state management, and increased query latencies on first lookup, due to session establishment latencies.
翻译:DNS是互联网的关键组成部分。最初设计用于实现主机名到IP地址的解析,其应用范围多年来持续扩展,如今已涵盖负载均衡和服务发现等用例。尽管DNS最初被构想为一种相对静态的目录服务,其中资源记录(RR)极少变更,但近年来我们观察到许多场景中,相较于纯粹基于请求和缓存RR的传统模式,采用主动向所有曾对特定记录表示过兴趣的解析器分发更新的DNS变体更为适宜。本文基于Media-over-QUIC架构探索了一种发布-订阅式DNS变体,提出了支持推送RR更新的初步系统与协议设计方案。我们提供了原型实现,发现DNS可从发布-订阅变体中获益:除了限制更新流量外,它能显著缩短解析器获取记录最新版本的时间,从而支持内容分发网络中的负载均衡等用例。然而,发布-订阅架构也为DNS带来了新挑战,包括因额外状态管理导致的终端开销增加,以及由于会话建立延迟造成的首次查询延迟上升。