Skip to content

Aravindha1234u/DnsBench

Repository files navigation


DnsBench

Multi-Threaded Python Application for Dns Benchmark

Created by Aravindha Hariharan M & Kumaran S


Python V3.7 build status Analyze Test License


Getting Started


This is Benchmark application to pick your best DNS provider according to your ISP(Internet Service Provider).This check over 55+ public DNS server and find the Best and Optimistic Server.

NOTE: Currently this application only uses ipv4 of DNS providers, because DNS providers are blocked by your ISP.


Screenshot1




Prerequisites

To have the interface displayed in the images, you will need chrome. If chrome is not installed or --no-chrome is supplied, the default browser will be used.

As of PyInstaller 4.0, Python 2.7 is no longer supported. Read "Python 2.7 Support" below for steps on how to use this tool with Python 2.7.

Installation and Usage

Installing Via PyPI

You can install this project using PyPI:

$ pip install DnsBench

Then to run it, execute the following in the terminal:

$ DnsBench

Installing Via GitHub

$ git clone https://github.com/aravindha1234u/dnsbench
$ cd dnsbench
$ python3 setup.py install

Then to run it, execute the following in the terminal:

$ DnsBench

Run from source code

$ git clone https://github.com/aravindha1234u/dnsbench
$ cd dnsbench
$ pip install -r requirements.txt

Then to run it, execute the following in the terminal:

$ python3 dnsbench.py

Update DnsBench


$ pip install -U DnsBench

Docker

By pulling the image from Docker Hub

docker run --name=DnsBench \
      --restart=always \
      -p 8000:8000 \
      aravindha1234u/dnsbench:latest

From Git Repository

docker build -t dnsbench .

docker run --name=DnsBench \
      -p 8000:8000 \
      --restart=always \
      dnsbench:latest

Remove Existing

Delete image
Terminal - docker rmi $(docker images 'aravindha1234u/dnsbench:latest' -a -q)

or

Powershell - docker rmi $(docker images --format "{{.Repository}}:{{.Tag}}"|findstr "aravindha1234u/dnsbench:latest")


Delete Container

docker rm DnsBench


Application working


Screenrecord


Issues

Feel free to express any kind of bug or error in this tool by reporting it in issues, So that it can be fixed soon.

License

DnsBench is licensed under MIT, Take a look at the License