https://github.com/toolworks-dev/dnsspeedtest
A fast, lightweight DNS resolver benchmarking tool written in Rust that measures the performance of popular DNS providers.
https://github.com/toolworks-dev/dnsspeedtest
benchmark developer-tools dns dns-performance dns-speed network-testing network-tools open-source resolver rust
Last synced: 11 days ago
JSON representation
A fast, lightweight DNS resolver benchmarking tool written in Rust that measures the performance of popular DNS providers.
- Host: GitHub
- URL: https://github.com/toolworks-dev/dnsspeedtest
- Owner: toolworks-dev
- Created: 2024-11-12T18:34:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T20:00:32.000Z (over 1 year ago)
- Last Synced: 2025-10-11T23:22:29.963Z (4 months ago)
- Topics: benchmark, developer-tools, dns, dns-performance, dns-speed, network-testing, network-tools, open-source, resolver, rust
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DNSpeedTest
A fast, lightweight DNS resolver benchmarking tool written in Rust that measures the performance of popular DNS providers.
## Features
- 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
## Build from source
1. Make sure you have Rust installed on your system
2. Clone this repository
```
git clone https://github.com/0xgingi/dnsspeedtest
cd dnspeedtest
```
3. Build and run:
```
cargo build --release
cargo run
```
## Configuration
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 test
- `TEST_DOMAINS`: List of domains to query during testing
- `TEST_ROUNDS`: Number of test iterations (default: 3)