Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonklingele/dnsbench
DNS benchmarking utility
https://github.com/leonklingele/dnsbench
benchmark dns dnsbench
Last synced: 19 days ago
JSON representation
DNS benchmarking utility
- Host: GitHub
- URL: https://github.com/leonklingele/dnsbench
- Owner: leonklingele
- Created: 2021-12-13T14:57:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-13T14:57:21.000Z (almost 3 years ago)
- Last Synced: 2024-10-06T17:41:34.580Z (about 1 month ago)
- Topics: benchmark, dns, dnsbench
- Language: Go
- Homepage:
- Size: 1.26 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DNSBench — DNS benchmarking utility
## Installation
```sh
go get -u github.com/leonklingele/dnsbench/...
dnsbench -help
```## Run benchmark
```sh
dnsbench -domains google.com,cloudflare.com -queries 8 -servers 1.1.1.1,8.8.8.8# Example output:
Domains: google.com, cloudflare.com
Servers: 1.1.1.1:53, 8.8.8.8:53
Proto: udp
Queries: 8
Workers: 1
[1.1.1.1:53]: avg query time for google.com : 19.945912ms
[1.1.1.1:53]: avg query time for cloudflare.com : 18.016792ms
[8.8.8.8:53]: avg query time for google.com : 10.637054ms
[8.8.8.8:53]: avg query time for cloudflare.com : 10.906691ms
Summary [8.8.8.8:53]: avg query time: 10.771872ms
Summary [1.1.1.1:53]: avg query time: 18.981352ms
```