Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

StatZone

Build Status

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.

Dependencies

StatZone uses the CMake build system and requires uthash header files.

Building

    mkdir build
    cd build
    cmake ..
    make

StatZone has been successfully built and tested on OpenBSD and Linux with both Clang and GCC.

Usage

    statzone [-hv] file

If file is a single dash (`-'), statzone reads from the standard input.

Options are:

    -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.

Features

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

License

StatZone is released under the BSD 2-Clause license. See LICENSE file for details.

Author

StatZone is developed by Frederic Cambus.

Resources

GitHub: https://github.com/fcambus/statzone

You can’t perform that action at this time.