DNSLogzip: A Novel Approach to Fast and High-Ratio Compression for DNS Logs
Yunwei Dai, Guyue Liu, Tao Huang, Shuo Wang, Yong Wang, Xingli Wu, Lei Song, Heshun Li, Chuang Wang, Fanglong Hu, Hong Sun, Yanan Li
Abstract
Domain Name System (DNS) logs capture detailed records of the queries and responses exchanged between DNS servers and clients, playing a crucial role in applications such as cybersecurity monitoring and regulatory compliance, which often require long-term data retention. With the rapid growth of Internet traffic, the volume of DNS logs has surged, presenting significant storage challenges. Although many DNS operators use general-purpose compression algorithms to reduce storage costs, these solutions fail to fully exploit the unique characteristics of DNS data, leading to inefficiencies and rising storage demands.
In this work, we propose a novel solution, DNSLogzip, designed to achieve lossless, fast, and high-ratio compression for DNS logs. Built on in-depth empirical studies of real-world DNS log datasets, we identify four key inter-line and intra-line characteristics that enable effective reduction of redundancies without information loss. DNSLogzip leverages these insights through a modular compression architecture, which allows it to handle varying log formats and offers easy integration and customization based on specific requirements. We have deployed DNSLogzip on two tier-1 Internet Service Providers (ISPs) to compress production logs. The results show that DNSLogzip can reduce storage costs by approximately two-thirds, potentially saving up to $163,000 per DNS service node per month.
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 d8d16b05-debd-4379-80a2-532b3ba75998Builds on4
- On the Feasibility of Parser-based Log Compression in Large-Scale Cloud SystemsJunyu Wei, Guangyan Zhang, Yang Wang, Zhiwei Liu et al.FAST 2021 · 34 citations
- ELISE: A Storage Efficient Logging System Powered by Redundancy Reduction and Representation LearningHailun Ding, Shenao Yan, Juan Zhai, Shiqing MaUSENIX Security 2021 · 30 citations
- LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log DataXiaoyun Li, Hongyu Zhang, Van-Hoang Le, Pengfei ChenICSE 2024 · 22 citations
- Unlocking the Power of Numbers: Log Compression via Numeric Token ParsingSiyu Yu, Yifan Wu, Ying Li, Pinjia HeASE 2024 · 5 citations
Related papers
- LogLite: Lightweight Plug-and-Play Streaming Log CompressionBenzhao Tang, Shiyu Yang, Zhitao Shen, Wenjie Zhang et al.VLDB 2025
- LogDelta: Differential Encoding for Log DataSongze Li, Shaoxu Song, Zhitao ShenICDE 2026
- LogGrep: Fast and Cheap Cloud Log Storage by Exploiting both Static and Runtime PatternsJunyu Wei, Guangyan Zhang, Junchao Chen, Yang Wang et al.EuroSys 2023 · 18 citations
- LogFold: Compressing Logs with Structured Tokens and Hybrid EncodingShiwen Shan, Yintong Huo, Hongzhan Zhong, Zhining Wang et al.ICSE 2026
- LogNexus: Effective Log Compression via Unified Redundancy EncodingYang Liu, Kaiming Zhang, Zhuangbin Chen, Zibin ZhengISSTA 2026
