You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We did something similar to this all the way back in 2011/2012, when nsec3map was initially written.
Our approach was to simply extrapolate the size of the NSEC3 chain by looking at the ratio of number of records / total hash distance covered. The difficulty was simply accounting for the sampling bias that (partial) NSEC3 enumeration produces (it doesn't produce a random sample because it tends to find records that cover a larger hash distance sooner).
I can't remember the exact math now (it's been a while), but it's probably described in our original paper.
It's implemented in the -p/--predict option.
(Needless to say that this would enable nice progress bar for NSEC3-signed zones.)
This is precisely what the -p option already does :)
anonion0
changed the title
Estimate total number of names in zone
Alternative way to estimate total size of NSEC3 chain
Mar 3, 2023
It's impossible for NSEC zones, but there is a neat and super-fast trick for NSEC3-signed zones!
https://blog.apnic.net/2017/03/10/surprising-connection-hyperloglog-dnssec-nsec3/
C++ implementation:
https://github.com/ahupowerdns/pdns/blob/dnssecmeasure/pdns/dnssecmeasure.cc
The text was updated successfully, but these errors were encountered: