Giter Site home page Giter Site logo

dns_tester's Introduction

DNS Performance Test Script

About

This Python script evaluates the performance of different public DNS servers by measuring the response times for DNS queries to a pre-defined list of websites.

Requirements

  • Python 3.x
  • dns.resolver module

To install the required dns.resolver module, run:

pip install dnspython

Usage

Ensure Python 3 and the dnspython module are installed on your system.

Save the script to a file, for example, main.py.

Run the script using Python:

python main.py

The script will test each DNS server in the list with each website and output the average response time.

How It Works

The script contains a list of websites and a list of public DNS servers. It measures how long each DNS server takes to resolve each website's domain name. Finally, it prints the average response time for each DNS server and compares it to the system's default DNS resolver.

Note

This is a simple script for testing DNS server performance. It might not account for all aspects of DNS server evaluation, such as reliability or security features.

dns_tester's People

Contributors

securedpackets avatar plaintextpackets avatar

Stargazers

Bhuvan Netam avatar  avatar

Watchers

 avatar  avatar

Forkers

bbrk364 dpd696

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.