A docker container for benchmarking DNS servers
257
DO NOT RANDOMLY BENCHMARK SERVERS. THIS IS DESIGNED TO STRESS SERVERS TO THE BREAKING POINT. ONLY RUN THIS AGAINST SERVERS YOU HAVE AUTHORIZATION TO. THEY WILL BREAK!!
This uses the Rapid7 open data sets for the query list. THIS IS A VERY LARGE DATASET. Some benchmarks will need over 60GB of disk space to run!
You are responsible for complying with the terms of service of the Rapid7 Open Data data sets.
docker run --rm --env TARGET=target.server.ip --env BENCHMARK={supported_type} rootwyrm/dns_bench
To run against a port other than 53:
--env PORT={arbitrary port}
Supported Types:
You can use a volume so you don't have to download it a bunch of times. (Please do.)
docker run --rm --volume /directory/containing/data:/opt/rootwyrm/data --env TARGET=target.server.ip --env BENCHMARK=type rootwyrm/dns_bench
You can (should!) use the rapid7_tool.sh to preprocess files whenever possible. They follow the following scheme:
Content type
Image
Digest
Size
29.2 MB
Last updated
about 6 years ago
docker pull rootwyrm/dns_bench