Fuzzing
Requires nightly and cargo install cargo-fuzz.
cd fuzz
cargo +nightly fuzz run message # DNS wire parser + response encoder
cargo +nightly fuzz run zonefile # zone file parser incl. DNSSEC/RFC 3597 pre-processor
cargo +nightly fuzz run config # YAML/JSON configuration parser + validation
cargo +nightly fuzz run transfer # transfer message decoding
A stable-Rust robustness test (crates/dns-server/tests/robustness.rs) sends 30 000
random and mutated packets through the full query handler on every cargo test run.