DNS Measurements
The Domain Name System is arguably one of the most complex components of the Internet. In our group, we thoroughly study the DNS, trying to unravel the complexities that have grown into the protocol over the past decades, and resolving long-standing discussions by providing scientifically sound data.
Measuring DNS Resilience at the Root
As most applications on the Internet rely on the Domain Name System (DNS), its resilience is essential for the resilience of the Internet. This pertains to the DNS root zone as it serves as entry point to the DNS hierarchy. Due to this importance, the root zone deserves special scrutiny, which it has received from researchers and operators alike.
In this project, we measure all root zone servers over a period of 174 days from 675 vantage points in 523 networks and 62 countries using IPv4 and IPv6. Using this data, we investigate the co-location between root servers, finding that almost 70% of clients observe co-location of at least two servers. Second, we monitor the integrity of zone transfers in the context of the rollout of a new record type (ZONEMD). We find rare but hard-to-spot issues like bitflips or stale zone files. Finally, by enriching our data with passive ISP and IXP data, we quantify the role of IPv6 for performance and behavior under change, finding that even seemingly similar subsets of root servers can differ considerably.
Measuring DNS Resilience below the Root:
For a truly resilient Domain Name System, resilience must be achieved on every level of the DNS hierarchy, not just at the root. However, assessing resilience of zones below the root is not straightforward. When looking only at direct dependencies of a zone (i.e., its name servers), a zone may appear more redundant than it actually is, e.g., if diverse name server zones transitively depend on the availability of a single zone. Such transitive dependencies may lead to bottlenecks, where the resolvability, and thus availability, of a zone depends on a low number of IP addresses/ASes/Organizations, constituting potential points of failure.
This problem may be amplified in an IPv6-only context, as some operators have not adopted redundant deployment of IPv6. Our own preliminary measurements have shown that around 15% of zones that do deploy IPv6 name servers, use more IPv4 than IPv6 addresses, potentially reducing IPv6 redundancy. By employing the active DNS measurements methodology we developed, we can explore all (transitive) name server dependencies of a domain while also querying all authoritative name servers of each encountered zone. The full inclusion of transitive dependencies will allow us to quantify their influence on resilience metrics and to identify zones that are crucial for the functioning of many other zones.
IPv6 Readiness of the Domain Name System and the Web:
The exhaustion of available IPv4 address space and the resulting migration to IPv6 networking is one of the major challenges the Internet faces today. In an IPv6-only scenario, it is not sufficient for Web services or pages to simply expose an IPv6 address under which they can be reached. Additionally, the Domain Name System (DNS) needs to be able to resolve the domain names of pages and all included resources. The aim of this project is to build a more comprehensive picture of the IPv6-readiness of the Web with regard to the DNS.
To achieve this, we have developed a scalable measurement pipeline that is capable of exploring the full DNS tree, including all (transitive) dependencies and retrieves answers from all authoritative name servers of a name. Using this system, we gathered 87 TB of DNS data covering 812M domains with over 85B queries over 40 days. With this data, we replicate four earlier studies that used less-comprehensive datasets in order to quantify potential biases. This includes active verification and replication of an earlier study assessing IPv6-readiness using passively-collected DNS cache misses. Our results confirm earlier findings, but also provides more fine-grained classification of issues in IPv6-only resolvability.
For other replicated studies, our results demonstrate the need for care in selecting which limitations regarding the perspective on DNS can be accepted for a given research question and which may alter findings and conclusions.
Next, we will combine our tested DNS methodology with Web crawling to provide a holistic view of IPv6-readiness in the Web. We will setup a large-scale crawl of websites, while simultaneously fully-resolving all DNS dependencies and retrieving HTTP resources from all found IP addresses. Aggregating the results for individual resources back to a per-website level, will allow us to gain insights into the end-to-end IPv6-readiness of the Web.
DNS, MTU, Fragmentation, and IPv6: Resolving a Decade-Long Discussion:
Today, adopting IPv6 is the way to go, given that the IPv4 address space has been exhausted for more than half a decade. In particular, the IPv6 support in client-side network deployments has seen a major growth given, i.a., the additional costs of operating IPv4 access networks with limited address space, e.g., the need to deploy Carrier Grade NATs (CGNs). Indeed, operators increasingly adapt an IPv6 mostly approach for client-side networks, often without informing the users or making them aware of this.
For server-side networks, IPv6 adoption–beyond the large content providers–is still not universal. For example, recent study found that less than 60% of all DNS zones support IPv6 only resolution. While this may sound surprising at first it is not. The “Best Current Practice” BCP91/ RFC3901 for operating (authoritative and recursive) DNS servers explicitly prohibits IPv6 only authoritative and recursive servers. Moreover, while allowing dual-stack setups it does not recommend running DNS servers using dual-stack. RFC3901 requires at least one authoritative name server (NS) with an IPv4 address for each zone, and that all recursive resolvers are able to resolve the zone via IPv4. IPv6 is left optional.
Over the past decade, the question if and when to require IPv6 for DNS has been controversially discussed. Hereby, the arguments of neither side have changed substantially.
Opponents of recommending IPv6 for DNS, e.g., Geoff Huston, argue that this “breaks the Internet” or at the very least DNS. Their main argument is that DNS record sizes have increased, e.g., due to IPv6 addresses, DNSSEC signed zones, etc. Thus, a functional IPv6 Path Maximum Transmission Unit (MTU) Discovery (PMTUD) is needed to enable DNS-over-UDP. However, they claim IPv6 Path MTU Discovery–which does not allow on-path fragmentation–is fundamentally broken. They argue that on-path fragmentation, allowing intermediate nodes to fragment packets rather than only the source (after successful path-MTU) is necessary to handle on-path MTU breaks. Moreover, well-known measurements conducted at APNIC indicate that even correctly client-side-fragmented IPv6 packets may not reach their destinations due to operator configurations that drop them on-path due to security concerns.
Proponents of recommending IPv6 for DNS, e.g., Enno Rey in 2015, argue that most of the above reasons are mostly constructed and less critical in practice than stated by the opponents.
Even though this discussion has been ongoing for over a decade, there is only one dataset—the APNIC dataset which unfortunately is methodologically and raw-data wise closed. Moreover, we are lacking explanations regarding why certain effects are observed and if they will impact DNS resolution in practice.
In this project, we revisit one of the most fundamental discussions in the context of the Internet’s future of the past decade: Is IPv6 harmful for the DNS or not? As simple as this question may sound, until now, there is no clear recommendation to support DNS on authoritative and recursive nameservers, with RFC3901 standing unchanged since 2004. We revisit the–by now–decade long history of this discussion, and analyze how it connects with choices made on fragmentation (end-to-end in IPv6 vs. on-path in IPv4), limitations to Path MTU Discovery, and diverging security policies suggesting dropping IPv6 fragments.
The resolvability of zones under different MTU and PMTUD scenarios is determined by their NSSet’s support of fragmentation avoidance (RFC9715), an general TCP fallback capabilities. Hence, to make our measurements feasible, we perform measurements of the unique NSSets found among the top 10 million domains in the Google Chrome User Experience report.
Our results challenge traditional wisdom, demonstrating that: (i) The negative impact of DNS resolution via IPv6 is negligible, even for DNSSEC enabled zones in a worst-case MTU/PMTUD scenario, (ii) NSSets supporting DNSSEC are more likely to also support DNS resolution via IPv6, (iii) Dropping or not dropping of fragments has negligible impact on IPv6 DNS resolution, (iv) Prior work missed the notable roles of a single Tier-1 when determining how wide-spread IPv6 fragment dropping is.
Based on our, under submission, results, we argue that it is time to recommend that IPv6 SHOULD be used for authoritative and recursive DNS. To this end, we are currently also engaged in the DNSOP working group to revise RFC3901, with Dr.-Ing. Tobias Fiebig serving as one of the editors of the document (‘DNS IPv6 Transport Operational Guidelines’, draft-ietf-dnsop-3901bis) the working group adopted to this end.