Topaz: Declarative and Verifiable Authoritative DNS at CDN-Scale

James Larisch*, Timothy Alberdingk Thijm, Suleman Ahmad, Peter Wu, Tom Arnfeld, Marwan Fayed

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

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 formally-verified 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.

Original languageEnglish
Title of host publicationACM SIGCOMM 2024 - Proceedings of the 2024 ACM SIGCOMM 2024 Conference
PublisherACM
Pages891-903
Number of pages13
ISBN (Electronic)9798400706141
DOIs
Publication statusPublished - 4 Aug 2024
Event2024 ACM SIGCOMM Conference, ACM SIGCOMM 2024 - Sydney, Australia
Duration: 4 Aug 20248 Aug 2024

Publication series

NameACM SIGCOMM 2024 - Proceedings of the 2024 ACM SIGCOMM 2024 Conference

Conference

Conference2024 ACM SIGCOMM Conference, ACM SIGCOMM 2024
Country/TerritoryAustralia
CitySydney
Period4/08/248/08/24

Keywords

  • authoritative DNS
  • CDN
  • declarative
  • formal verification
  • network policies

Fingerprint

Dive into the research topics of 'Topaz: Declarative and Verifiable Authoritative DNS at CDN-Scale'. Together they form a unique fingerprint.

Cite this