[Paper Review] Measurement and characterization of DNS over HTTPS traffic
This paper measures and characterizes DNS over HTTPS (DoH) traffic to assess its privacy benefits and performance overhead. It evaluates DoH implementations in web browsers, analyzes traffic patterns, and demonstrates that DoH can be distinguished from regular HTTPS traffic using payload and header characteristics, with HTTP/2 reducing overhead and headers contributing significantly to data volume.
Domain name system communication may provide sensitive information on users' Internet activity. DNS-over-TLS and DNS-over-HTTPS are proposals aiming at increasing the privacy of Internet end users. In this paper we present an overview of the current state in the deployment of DNS-over-HTTPS (DoH) implementations complemented by measurements of DoH traffic in terms of the incurred overhead and the possibility of the DoH detection based on the inherent characteristics of the communication patterns.
Motivation & Objective
- To assess the performance and overhead of DNS over HTTPS (DoH) compared to traditional DNS and DoT.
- To characterize DoH traffic patterns and identify distinguishing features from regular HTTPS traffic.
- To evaluate the impact of DoH on web page load times in real-world browser scenarios.
- To analyze HTTP headers in DoH responses and quantify their contribution to traffic volume.
- To develop a method for identifying DoH traffic and distinguishing between DoH server implementations.
Proposed method
- Collected a large dataset of DoH traffic using custom packet capture tools in controlled and real-world browser environments.
- Implemented a novel tool to detect and test deployed DoH servers on the Internet, identifying protocol features and configurations.
- Conducted isolated performance tests comparing DNS, DoH POST, DoH GET, and DoH with JSON encoding on Cloudflare’s servers.
- Measured end-to-end web page load times using different DNS resolution methods in real browser sessions.
- Analyzed traffic characteristics using metrics such as payload size to packet count ratio and header size distributions.
- Used HTTP/1.1 and HTTP/2 DoH server responses to compare header overhead and protocol efficiency.
Experimental results
Research questions
- RQ1What is the performance overhead of DoH compared to traditional DNS and DoT in isolated and real-world settings?
- RQ2How does DoH traffic differ from regular HTTPS traffic in terms of packet structure and payload characteristics?
- RQ3To what extent do HTTP headers contribute to the overall data volume in DoH communication?
- RQ4Can DoH traffic be reliably detected and classified based on network-level features?
- RQ5How do different DoH server implementations (e.g., Nginx, Cloudflare, h2o/dnsdist) affect traffic patterns and header usage?
Key findings
- DoH POST showed slightly better performance than traditional DNS in real browser scenarios, indicating potential for faster resolution in practice.
- HTTP/2 reduced protocol overhead compared to HTTP/1.1, with DoH traffic on HTTP/2 showing more efficient packet usage.
- About 4.3% of DoH servers still use HTTP/1.1, which incurs higher header overhead due to lack of HPACK compression.
- A significant portion of DoH servers (over half) use response headers with less than 200 bytes, but some produce headers exceeding 1,000 bytes, contributing substantially to traffic volume.
- DoH traffic is distinguishable from regular HTTPS traffic based on payload size to packet count ratios and header patterns.
- Server identification via headers (e.g., server, x-powered-by) revealed that 34 servers used Nginx, 12 used Cloudflare CDN, and 11 used h2o/dnsdist, enabling detection of software implementations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.