Overview of dns-bench
masterdns-bench is a Rust-based command-line tool designed to benchmark DNS server performance. It iterates through a built-in list of public DNS servers, automatically detects your system's configured DNS servers, and attempts to detect your default gateway (router) DNS endpoint. It measures response times and outputs a sorted table of results to help you identify the fastest DNS server for your location.
Key Features:
- Multi-threaded benchmarking: Runs tests in parallel for speed.
- Flexible Configuration: Customize request counts, thread counts, timeouts, and the target domain.
- Protocol Support: Choose between UDP/TCP and IPv4/IPv6.
- Multiple Output Formats: Supports human-readable tables, JSON, XML, and CSV.
- Customization: Use your own DNS server lists and save preferred configurations.