Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNSrank

A Domain Name System server benchmarking/ranking script Preview

Requirements

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.

How to use

  1. Run the following code to clone this repo and make the script executable.

git clone https://github.com/sawsanders/DNSrank.git && cd ./DNSrank && chmod u+x run-DNSrank

  1. Edit the file run-DNSrank to set up some parameters. Defaults should work out of the box.
  2. Edit the file servers.txt to add or remove DNS servers. Some servers are already setup.
  3. Edit the file domains.txt to add or remove test domains. Some domains are already setup.
  4. Execute ./run-DNSrank to start testing.

EDIT: I have changed this script to pull the configured number of most used, non-blocked domains from you own Pi-hole database and use those for the test. This seems like a better real world test of resolvers to me.

About

A DNS benchmarking/ranking script

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages