No description
Find a file
Sezer Bozkır 00dcd6dafb
deprecated go get is fixed (#8)
Co-authored-by: Sezer BOZKIR <admin@seerbozkir.com>
2023-10-25 12:15:34 +02:00
animation.svg Improve README.md 2018-09-17 22:04:19 +02:00
dnsstresss.go Improve support for IPv6 resolvers 2020-08-27 23:49:20 +02:00
go.mod Migrate to Go Modules and fix aurora logging breaking changes 2020-08-27 23:11:28 +02:00
go.sum Migrate to Go Modules and fix aurora logging breaking changes 2020-08-27 23:11:28 +02:00
README.md deprecated go get is fixed (#8) 2023-10-25 12:15:34 +02:00
stats.go Improve support for IPv6 resolvers 2020-08-27 23:49:20 +02:00
utils.go Improve support for IPv6 resolvers 2020-08-27 23:49:20 +02:00
utils_test.go Improve support for IPv6 resolvers 2020-08-27 23:49:20 +02:00

DNSStresss, the DNS stress test tool

Simple Go program to stress test a DNS server.

It displays the number of queries made, along with the answer per second rate reached.

Usage

First:

go install github.com/MickaelBergem/dnsstresss@latest

Then:

$ dnsstresss -h
dnsstresss - dns stress tool

Send DNS requests as fast as possible to a given server and display the rate.

Usage: dnsstresss [option ...] targetdomain [targetdomain [...] ]
-concurrency int
            Internal buffer (default 50)
-d int      Update interval of the stats (in ms) (default 1000)
-f          Don't wait for an answer before sending another
-i          Do an iterative query instead of recursive (to stress authoritative nameservers)
-r string   Resolver to test against (default "127.0.0.1:53")
-random     Use random Request Identifiers for each query
-v          Verbose logging

For IPv6 resolvers, use brackets and quotes:

dnsstresss -r "[2001:4860:4860::8888]:53" -v google.com.

Example:

Usage of DNSStresss, the DNS stress test tool