Topaz: Declarative and Verifiable Authoritative DNS at CDN-Scale
James Larisch, Timothy Alberdingk Thijm, Suleman Ahmad, Peter Wu, Tom Arnfeld, Marwan Fayed
Abstract
Today, when a CDN nameserver receives a DNS query for a customer's domain, it decides which CDN IP to return based on servicelevel objectives such as managing load or maintaining performance, but also internal needs like split testing. Many of these decisions are made a priori by assignment systems that imperatively generate maps from DNS query to IP address(es). Unfortunately, imperative assignments obfuscate nameserver behavior, especially when different objectives conflict.
In this paper we present Topaz, a new authoritative nameserver architecture for anycast CDNs which encodes DNS objectives as declarative, modular programs called policies. Nameservers execute policies directly in response to live queries. To understand or change DNS behavior, operators simply read or modify the list of policy programs. In addition, because policies are written in a formallyverified domain-specific language (topaz-lang), Topaz can detect policy conflicts before deployment. Topaz handles ∼1M DNS queries per second at a global CDN, dynamically deciding addresses for millions of names on six continents. We evaluate Topaz and show that the latency overheads it introduces are acceptable.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2bf91435-cb01-40b4-b180-9fe9fabd2d06Cited by top-tier papers1
Ask how each one uses itBuilds on9
- Contra: A Programmable System for Performance-aware RoutingKuo-Feng Hsu, Ryan Beckett, Ang Chen, Jennifer Rexford et al.NSDI 2020 · 104 citations
- Seven years in the life of Hypergiants' off-netsPetros Gigis, Matt Calder, Lefteris Manassakis, George Nomikos et al.SIGCOMM 2021 · 68 citations
- NV: an intermediate language for verification of network control planesNick Giannarakis, Devon Loehr, Ryan Beckett, David WalkerPLDI 2020 · 31 citations
- Cedar: A New Language for Expressive, Fast, Safe, and Analyzable AuthorizationJoseph W. Cutler, Craig Disselkoen, Aaron Eline, Shaobo He et al.OOPSLA 2024 · 28 citations
- GRooT: Proactive Verification of DNS ConfigurationsSiva Kesava Reddy Kakarla, Ryan Beckett, Behnaz Arzani, Todd D. Millstein et al.SIGCOMM 2020 · 24 citations
Related papers
- Akamai DNS: Providing Authoritative Answers to the World's QueriesKyle Schomp, Onkar Bhardwaj, Eymen Kurdoglu, Mashooq Muhaimen et al.SIGCOMM 2020 · 38 citations
- Regional IP Anycast: Deployments, Performance, and PotentialsMinyuan Zhou, Xiao Zhang, Shuai Hao, Xiaowei Yang et al.SIGCOMM 2023 · 17 citations
- AnyPro: Preference-Preserving Anycast Optimization based on Strategic AS-Path PrependingMinyuan Zhou, Yuning Chen, Jiaqi Zheng, Yifei Xu et al.NSDI 2026 · 1 citation
- AnyOpt: predicting and optimizing IP Anycast performanceXiao Zhang, Tanmoy Sen, Zheyuan Zhang, Tim April et al.SIGCOMM 2021 · 19 citations
- ReOpt: Near-Optimal Region Division for Low-Latency Regional AnycastYimeng Xu, Minyuan Zhou, Congying Wang, Jiaqi Zheng et al.INFOCOM 2026
