StatZone is a DNS zone file analyzer targeted at TLD zones.
After analyzing a zone, it returns counts for: IPv4 and IPv6 glue records, NS records (total and uniques), DS records, DNSSEC signed domains, IDNs domains, and total number of domains.
It is currently used to generate TLD Zone File Statistics on StatDNS.
StatZone is written with security in mind and is running sandboxed on OpenBSD (using pledge) and optionally on Linux (using seccomp). It has also been extensively fuzzed using AFL and Honggfuzz.
StatZone uses the CMake build system and requires uthash header files.
mkdir build cd build cmake .. make
StatZone has been successfully built and tested on OpenBSD and Linux with both Clang and GCC.
statzone [-hv] file
If file is a single dash (`-'), statzone reads from the standard input.
-h Display usage -v Display version
StatZone outputs results to stdout.
TLD zone files for .arpa can be found on Internic FTP site4, .se and .nu zones are available through AXFR at zonedata.iis.se.
Currently implemented features:
- Counting IPv4 and IPv6 glue
- Counting name servers (total and unique)
- Counting DS records
- Counting DNSSEC signed domains
- Counting IDNs domains
- Counting domains
StatZone is released under the BSD 2-Clause license. See
LICENSE file for
StatZone is developed by Frederic Cambus.
- Site: https://www.cambus.net