Summary

  • Geoff Huston's APNIC report on DNS-OARC 47 describes Quad9's investigation of a cuckoo filter that could hold about 127 million DNS objects at 95% capacity in roughly 1 GB.
  • The early figures use a 32-bit object fingerprint with a reported 1:70,000,000 false-result probability, plus 14 bits for a 30-day TTL and 10 bits for a 3.5-day LRU component, averaging about 67 bits per object.
  • A cuckoo filter can prove absence but cannot prove membership. It can gate expensive DNS processing; it cannot become the authoritative record that a name was observed.

Quad9 did not set out to build a smaller dictionary. It set out to keep a flood away from the core of a DNS service. The filter would sit near the edge of a processing pipeline, reject names it had never seen, stop duplicate work and keep the back-end store and budget from taking the full impact.

The reported compression is difficult to ignore. About 127 million objects at 95% capacity, a 30-day absolute TTL, a 3.5-day recency clock and a 1 GB memory footprint come to roughly 67 bits per object. On a one-gigabyte napkin, that looks like the whole Internet reduced to a pebble.

The pebble has a direction. A cuckoo filter can answer “not present” with certainty. It can answer “present” only with some probability of error. That property is excellent for stopping repeated work. It is dangerous when an analyst treats a membership hit as proof of observation.

The cheap answer is deliberately one-sided

The APNIC report describes the filter as a data cache and gatekeeper. A name that the filter definitively has not stored can move along a quick path. A name that the filter says is present has to be treated carefully because the result may be a false positive.

Quad9's stated aims are operational rather than encyclopaedic: slow a flood, de-duplicate events, answer in useful time and protect the network and back-end store. Those goals do not require exact storage of every name in the hot path. They require enough evidence to decide which work can be skipped safely.

That distinction changes the architecture. The filter is not a ledger. It is a traffic valve. A valve can be wrong in one direction provided the pipeline has another instrument before a consequential decision.

The report gives a 32-bit fingerprint and a 1:70,000,000 false-result probability. It separately gives the total cost around 67 bits per object. Both numbers should remain attached to their own denominators. The 67 bits include the age and recency metadata in the experiment; they do not turn a 32-bit fingerprint into a 67-bit identity certificate.

Freshness is part of the filter

A DNS event is not just a string. It has a time, a query type, an answer, a client or resolver view and a reason for entering the intelligence pipeline. A compact filter may store only enough to answer whether a similar object has appeared in a chosen window.

The reported 14-bit TTL field represents 30 days. The 10-bit LRU component represents 3.5 days. Those fields define forgetting. A filter that has expired or evicted a name may answer “absent,” which is correct for its current set and misleading if an analyst reads it as history.

This is the part of the design most likely to disappear from a dashboard. A hit rate can rise after retention is shortened. A false-positive rate can look excellent while an LRU policy constantly pushes out the records an investigation needs. Memory can stay flat because the system has stopped remembering.

The public figures identify capacity, not permanence. About 127 million objects at 95% occupancy is a near-full filter, not 127 million records available forever. Insertion failure and eviction policy matter at the edge of that line.

A false positive can skip the interesting name

The value proposition is obvious when the next step is expensive. Check the filter before reading the back-end store, joining several feeds or starting traffic enrichment. Most repeat events leave early.

The risk is equally concrete. A previously unseen name that produces a membership false positive can be treated as old and sent down the cheap path. If the purpose is de-duplicating storage, the result may be one lost observation. If the purpose is detecting newly observed domains, a missing record can erase the very event the system was built to find.

Quad9's presentation was an investigation and APNIC calls the figures first reports from further development. No production false-positive count, eviction count, dropped observation or downstream attribution is public. Those are the records that separate a promising filter from a safe one.

A sound pipeline needs a deterministic escape hatch. When a membership hit changes a consequential answer, ask the authoritative join or retain the observation. Hashing or compressing a name does not answer whether the original event was unique, current or joined to the right answer.

A gate is not a memory of history

A DNS query is also a behavioural and sometimes sensitive event. Moving it away from the core can help the service. It also changes the evidentiary base available to later investigations. The operator has to decide which summaries survive, who can question a false positive, how entries age and what local record proves how a decision was reached.

That decision belongs in the design, not in an incident review after a missed domain. The filter's one-sided certainty is useful only when staff know which side of the decision can tolerate error.

The APNIC report describes a smaller operator problem than replacing the DNS. Quad9 is trying to keep a massive stream from making every lookup expensive. The filter can absorb that pressure. The record of why a name mattered still needs a place to live.

Sources: APNIC DNS-OARC 47 report; DNS-OARC 47; Cuckoo Clock presentation.