A Domain Name System server benchmarking/ranking script
The script needs the following commands to be available: bc, dig, traceroute, ping, curl and getent and will notify in case any are missing. All these commands should be available by default on most distros.
If you are intercepting DNS requests on your gateway, make sure to add an exception for the IP you are testing from.
- Run the following code to clone this repo and make the script executable.
git clone https://github.com/Deepcuts/DNSrank && cd ./DNSrank && chmod u+x run-DNSrank
- Edit the file run-DNSrank to set up some parameters. Defaults should work out of the box.
- Edit the file servers.txt to add or remove DNS servers. Some servers are already setup.
- Edit the file domains.txt to add or remove test domains. Some domains are already setup.
- Execute
./run-DNSrank
to start testing.