Files
EasyDNS/fuzz/README.md
T
2026-11-22 14:21:54 +01:00

15 lines
566 B
Markdown

# Fuzzing
Requires nightly and `cargo install cargo-fuzz`.
```bash
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.