Lune

SOSP2023Top-tier venue

Automated Verification of an In-Production DNS Authoritative Engine

Naiqian Zheng, Mengqi Liu, Yuxing Xiang, Linjian Song, Dong Li, Feng Han, Nan Wang, Yong Ma, Zhuo Liang, Dennis Cai, Ennan Zhai, Xuanzhe Liu, Xin Jin

Abstract

This paper presents DNS-V, a verification framework for our in-production DNS authoritative engine, which is the core of our DNS service. The key idea for automated verification in general is based on the layered verification principle. However, we face the challenge that our in-production DNS authoritative engine lacks modularity, more specifically, as can be seen with unclean interfaces and poor data structure encapsulation. This makes the layered verification hard to apply. To address this challenge, we propose a summarization approach that performs full-path symbolic execution to accumulate all path conditions and computation effects, and then represents a module's behavior in an abstract form as a set of input-effect pairs. In addition, for portability to future iterated versions of our DNS authoritative engine, we identify common dependency library modules that remain stable across different versions, and carefully design their abstractions to make them amenable to automated reasoning. Our framework has been successful in identifying and preventing tens of critical bugs in different versions of our DNS authoritative engine from reaching production, with a porting effort of less than one person-week.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MeshTest: End-to-End Testing for Service Mesh Traffic Management cites Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3
  • MeshTest: End-to-End Testing for Service Mesh Traffic Management cites Design and Verification of the Arm Confidential Compute Architecture
  • Detecting Inconsistencies in Arm CCA's Formally Verified Specification cites A Secure and Formally Verified Linux KVM Hypervisor
  • Detecting Inconsistencies in Arm CCA's Formally Verified Specification cites Design and Verification of the Arm Confidential Compute Architecture
  • Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol Proofs cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
  • Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol Proofs cites Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3
  • Iceberg: Automated Verification of DNS Authoritative Engines via Just-in-Time Summarization cites DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed Protocols
  • Iceberg: Automated Verification of DNS Authoritative Engines via Just-in-Time Summarization cites Specification and verification in the field: Applying formal methods to BPF just-in-time compilers in the Linux kernel
  • Iceberg: Automated Verification of DNS Authoritative Engines via Just-in-Time Summarization cites Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3
  • Iceberg: Automated Verification of DNS Authoritative Engines via Just-in-Time Summarization cites A Secure and Formally Verified Linux KVM Hypervisor
  • Design and Verification of the Arm Confidential Compute Architecture cites A Secure and Formally Verified Linux KVM Hypervisor
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Inductive Invariants That Spark Joy: Using Invariant Taxonomies to Streamline Distributed Protocol ProofsTony Nuda Zhang, Travis Hance, Manos Kapritsos, Tej Chajed et al.OSDI 2024 · 9 citations
  2. MeshTest: End-to-End Testing for Service Mesh Traffic ManagementNaiqian Zheng, Tianshuo Qiao, Xuanzhe Liu, Xin JinNSDI 2025 · 7 citations
  3. Reachability Analysis of the Domain Name SystemDhruv Nevatia, Si Liu, David A. BasinPOPL 2025 · 2 citations
  4. Detecting Inconsistencies in Arm CCA's Formally Verified SpecificationChangho Choi, Xiang Cheng, Bokdeuk Jeong, Taesoo KimASPLOS 2026
  5. Iceberg: Automated Verification of DNS Authoritative Engines via Just-in-Time SummarizationYuxing Xiang, Rilin Huang, Naiqian Zheng, Xin JinNSDI 2026

Builds on13

  1. Specification and verification in the field: Applying formal methods to BPF just-in-time compilers in the Linux kernelLuke Nelson, Jacob Van Geffen, Emina Torlak, Xi WangOSDI 2020 · 72 citations
  2. A Secure and Formally Verified Linux KVM HypervisorShih-Wei Li, Xupeng Li, Ronghui Gu, Jason Nieh et al.S&P 2021 · 72 citations
  3. Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3James Bornholt, Rajeev Joshi, Vytautas Astrauskas, Brendan Cully et al.SOSP 2021 · 63 citations
  4. Design and Verification of the Arm Confidential Compute ArchitectureXupeng Li, Xuheng Li, Christoffer Dall, Ronghui Gu et al.OSDI 2022 · 60 citations
  5. DuoAI: Fast, Automated Inference of Inductive Invariants for Verifying Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason NiehOSDI 2022 · 50 citations

Related papers

  1. Engineering a Formally Verified Automated Bug FinderArthur Correnson, Dominic SteinhöfelFSE 2023 · 6 citations
  2. GRooT: Proactive Verification of DNS ConfigurationsSiva Kesava Reddy Kakarla, Ryan Beckett, Behnaz Arzani, Todd D. Millstein et al.SIGCOMM 2020 · 24 citations
  3. Hybrid Path-Sums for Hybrid Quantum ProgramsChristophe Chareton, Jad Issa, Mathieu Nguyen, Nicolas Blanco et al.PLDI 2026
  4. A Formal Framework for End-to-End DNS ResolutionSi Liu, Huayi Duan, Lukas Heimes, Marco Bearzi et al.SIGCOMM 2023 · 11 citations
  5. Sound Gradual Verification with Symbolic ExecutionConrad Zimmerman, Jenna DiVincenzo, Jonathan AldrichPOPL 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines