A fast, lightweight DNS resolver benchmarking tool written in Rust that measures the performance of popular DNS providers.
- Tests multiple popular DNS providers including Google, Cloudflare, Quad9, OpenDNS, and more
- Measures average response time, minimum and maximum latency
- Calculates success rate for DNS queries
- Tests against commonly accessed domains
- Provides detailed performance metrics in an easy-to-read format
- Initial connection latency testing for each provider
- Make sure you have Rust installed on your system
- Clone this repository
git clone https://github.com/0xgingi/dnsspeedtest
cd dnspeedtest
- Build and run:
cargo build --release
cargo run
The tool comes pre-configured with several popular DNS providers and test domains. You can modify these in the source code:
DNS_PROVIDERS
: List of DNS providers to testTEST_DOMAINS
: List of domains to query during testingTEST_ROUNDS
: Number of test iterations (default: 3)