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 has also been extensively
fuzzed using AFL and Honggfuzz. Experimental seccomp support is available
for selected architectures and can be enabled by setting the ENABLE_SECCOMP
variable to 1
when invoking CMake.
StatZone uses the CMake build system.
mkdir build
cd build
cmake ..
make
StatZone has been successfully built and tested on OpenBSD and Linux with both Clang and GCC.
statzone [-hv] zonefile
If file is a single dash (`-'), statzone reads from the standard input.
The options are as follows:
-h Display usage.
-v Display version.
StatZone outputs results to stdout.
TLD zone files for .arpa can be found on Internic FTP site, .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
details.
StatZone is developed by Frederic Cambus.
- Site: https://www.cambus.net