Home / Blogs

How Do You Crawl DNSSEC at Internet Scale? Lessons from DNSXplore

DNSSEC has been standardized for years, and every one of ICANN’s 1,195 generic top-level domains (gTLDs) had deployed it by December 2020. Yet signing a zone and keeping its chain of trust valid are different problems, and almost nobody measures the second one continuously. Doing so means querying hundreds of millions of names, validating the answers, and keeping the history. This article walks through what makes that kind of measurement hard, using DNSXplore, a public DNSSEC archive and diagnostic platform, as the worked example.

Why the Chain of Trust Needs Measuring

DNSSEC authenticates DNS data through a chain of trust. The root zone’s keys vouch for each TLD, each TLD vouches for the zones below it through Delegation Signer (DS) records, and each zone signs its own data with RRSIG records. Every link has to hold. If one signature expires, or a DS record at the parent no longer matches the DNSKEY at the child, a validating resolver returns a failure (SERVFAIL) for the whole name, so the domain looks broken to its users even though the zone is otherwise healthy.

The usual causes are operational rather than cryptographic: signatures that were not re-signed before their expiry time, key rollovers where the parent and child fall out of sync, and registrar or DNS-provider transfers that leave stale DS records behind. Automation such as CDS and CDNSKEY records, which let a child zone signal DS changes to its parent, reduces some of these failures but depends on both sides supporting it.

Resolvers validate only at query time, so they report failures one lookup at a time. They do not give the operator or the research community a view of the whole namespace, or of how the picture changes over time. That is the measurement gap that DNSXplore addresses.

The DNSXplore Project in Brief

DNSXplore is a public repository that archives and monitors DNSSEC records for gTLD domains. It was developed by a research team at Ajman University as the “Passive DNSSEC Data Collection Platform (GUPPY)” project and funded through the ICANN Grant Program. Its domain list comes from ICANN’s Centralized Zone Data Service (CZDS), which distributes daily zone file snapshots of participating TLDs to approved researchers. The project reports tracking more than 300 million gTLD domains and validating DNSSEC across more than 1,000 gTLD zones.

Those figures are the project’s own, and they depend on what CZDS publishes. They cover gTLDs only. Country-code TLD coverage is listed as planned work in the project’s ICANN 86 update.

What Makes DNSSEC Crawling Hard

Crawling DNSSEC is not the same as crawling web pages. A web crawler fetches a document and parses it. A DNSSEC crawler has to collect several record types from several servers, then check that they are cryptographically consistent with each other. Five problems account for most of the difficulty.

  • Seeding from zone files. Zone files list which names exist, but they are snapshots. Research on rapid zone updates has shown that daily CZDS snapshots can miss domains that are registered and removed between two snapshots. A crawler built on them has to accept that its seed list is a daily approximation and document that limit.
  • Collecting a complete validation set. Validating one domain takes the DS record from the parent, then the DNSKEY and RRSIG records from the child, and for the chain above, the same again at each level up to the root. A crawler can cache the upper levels. The per-domain queries cannot be cached away, so the number of queries grows with the number of domains.
  • Telling a broken zone from a broken query. UDP responses that exceed the EDNS buffer size are truncated, and some servers drop large DNSSEC responses or handle fallback to TCP badly. Without care, a transport problem is recorded as a DNSSEC failure. Extended DNS Errors give resolvers a way to report the reason for a failure, but a crawler still has to separate its own network faults from genuine misconfiguration before it labels a domain.
  • Denial of existence. Proving that a name or record type does not exist uses NSEC or NSEC3 records. NSEC3 adds hashing and extra parameters, and operators set those parameters in ways that vary widely. Current guidance asks for conservative settings. A crawler has to validate these proofs correctly and handle unusual parameters without skipping or misclassifying the domain.
  • Rate and politeness. Hundreds of millions of lookups concentrate on a small number of hosting and registrar name servers. Many domains share the same authoritative servers, so the crawler needs per-server rate limits and shared caching to avoid hitting one operator repeatedly. The project’s ICANN 86 update lists scaling the crawl toward 10 million domains per day as a goal. At that rate, one full pass over 300 million domains would take about a month, which is why re-crawl scheduling matters as much as raw speed.

From Snapshots to History

A single crawl shows what is broken at one moment. Archiving is what makes the data useful for measurement. With repeated crawls stored over time, a researcher can ask how long signatures stay expired before they are fixed, whether DS mismatches cluster at particular registrars, or how quickly algorithm rollovers complete. The same archive lets an operator check when a failure began instead of only that it exists now.

That requires storing validation outcomes, not only raw records, and re-validating consistently when the crawler’s own rules change. Otherwise a change in the data could just be a change in the tool.

Why It Matters

DNSSEC protects against forged or tampered DNS answers and underpins mechanisms such as DANE, which ties TLS certificates to DNS names. Those protections only work when the chain validates end to end. Publicly available measurement of that state helps registries and registrars find systematic faults, helps operators diagnose a single domain, and gives researchers a dataset they would otherwise have to build themselves.

Some limits remain. Coverage outside gTLDs is still planned, snapshot-based seeding has the blind spot described above, and a validation result depends on the vantage point and the crawler’s validation logic. Independent measurements from other groups are the best way to check results like these, and open data makes that comparison possible.

By Eman Khalid, Marketing Manager at EUNOMATIX —

DNSXplore is publicly accessible at dnsxplore.com. The author works at EUNOMATIX, which engineered the platform’s crawling infrastructure.

Visit Page

Filed Under

Comments

  Notify me of follow-up comments

We encourage you to post comments and engage in discussions that advance this post through relevant opinion, anecdotes, links and data. If you see a comment that you believe is irrelevant or inappropriate, you can report it using the link at the end of each comment. Views expressed in the comments do not represent those of CircleID. For more information on our comment policy, see Codes of Conduct.

CircleID Newsletter The Weekly Wrap

More and more professionals are choosing to publish critical posts on CircleID from all corners of the Internet industry. If you find it hard to keep up daily, consider subscribing to our weekly digest. We will provide you a convenient summary report once a week sent directly to your inbox. It's a quick and easy read.

Related

Topics

IPv4 Markets

Sponsored byIPv4.Global

DNS Security

Sponsored byWhoisXML API

Brand Protection

Sponsored byCSC

New TLDs

Sponsored byRadix

Domain Names

Sponsored byVerisign

DNS

Sponsored byDNIB.com

Cybersecurity

Sponsored byVerisign