NICRJul 18, 2019

Comparing the Effects of DNS, DoT, and DoH on Web Performance

arXiv:1907.08089v34 citations
AI Analysis

It addresses performance trade-offs for internet users and developers adopting encrypted DNS protocols, but is incremental as it builds on prior privacy concerns with empirical measurements.

This paper measured the impact of DNS, DoT, and DoH on web performance, finding that while DoH and DoT have higher query response times than traditional DNS, they can lead to faster page loads under normal conditions, but DNS performs best under high network stress, with DNS and DoT also achieving higher success rates than DoH.

Nearly every service on the Internet relies on the Domain Name System (DNS), which translates a human-readable name to an IP address before two endpoints can communicate. Today, DNS traffic is unencrypted, leaving users vulnerable to eavesdropping and tampering. Past work has demonstrated that DNS queries can reveal a user's browsing history and even what smart devices they are using at home. In response to these privacy concerns, two new protocols have been proposed: DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT). Instead of sending DNS queries and responses in the clear, DoH and DoT establish encrypted connections between users and resolvers. By doing so, these protocols provide privacy and security guarantees that traditional DNS (Do53) lacks. In this paper, we measure the effect of Do53, DoT, and DoH on query response times and page load times from five global vantage points. We find that although DoH and DoT response times are generally higher than Do53, both protocols can perform better than Do53 in terms of page load times. However, as throughput decreases and substantial packet loss and latency are introduced, web pages load fastest with Do53. Additionally, web pages successfully load more often with Do53 and DoT than DoH. Based on these results, we provide several recommendations to improve DNS performance, such as opportunistic partial responses and wire format caching.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes