Skip to main content

Multi-Threaded Python Application for Dns Benchmark

Project description


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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DnsBench-1.1.3.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distribution

DnsBench-1.1.3-py3-none-any.whl (1.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page