$ dnsmark --features
- AF_XDP line rate
- Optional zero-copy datapath: frames written straight into NIC memory, no kernel stack, no per-packet syscall. Saturates a 10 GbE link.
- Throughput at the NIC
- Hardware counters of the receiving NIC, compared with the link ceiling. Verdict: wire-bound or headroom left.
- Latency
- Timeout = loss, never a sample. p50/p95/p99/p999 from an HDR histogram of received replies only.
- Saturation
- --ramp doubles the load to bracket the maximum, then bisects to within 5 %.
- UDP, TCP, DoT, DoQ
- Closed loop comparable to dnsperf. --compare for two servers. EDNS(0) via --edns.
- Automation
- JSON/CSV output, terminal dashboard, static binary for x86_64/aarch64.
$ dnsmark --results
- Kernel UDP
- 8.40 M q/s vs 2.03 M for dnsperf 2.14, same host (white paper §6.2).
- AF_XDP, 10 GbE
- ~9.85 M replies/s (103 bytes) on one link, ~19 M/s on two (white paper §6.4).
$ dnsmark --license
- Availability
- Static Linux binaries (musl, glibc; x86_64, aarch64) published on GitHub with each release.
- License
- MIT. In-kernel XDP program under GPL-2.0 (required by the Linux kernel).
- Authorized testing only
- Only against DNS servers you own, or with explicit written authorization.