Skip to content

Test the speed of DNS servers and generate a performance report with dnstester, a Python script that pings various DNS servers and saves the results as an HTML report in a table and chart format.

License

Notifications You must be signed in to change notification settings

hasanbeder/dnstester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dnstester

dnstester is a Python script that measures the performance of different DNS servers by pinging them and saving the results in an HTML report.

Installation

To use dnstester, you need to install the ping3, matplotlib, numpy, base64, and io libraries. You can install these libraries using pip:

"pip install ping3 matplotlib numpy base64 io" or "pip3 install ping3 matplotlib numpy base64 io"

Usage

Once you have the libraries installed, simply run the script and wait for the results. The script includes pre-defined popular DNS servers, such as Google, Cloudflare, OpenDNS, Quad9, Level3, and Comodo Secure. However, you can add more servers to the list to test their performance as well.

"python dnstester.py" or "python3 dnstester.py"

Results

The results of the DNS performance testing are presented in an easy-to-read HTML report. The table displays the response times of each server in milliseconds, and the chart shows a visual representation of the data in a bar graph. To make it easier to share the results of the DNS performance testing, the report is saved in an HTML format, which you can open in any web browser.


Here is an example of the report generated by dnstester:

Download


About

Test the speed of DNS servers and generate a performance report with dnstester, a Python script that pings various DNS servers and saves the results as an HTML report in a table and chart format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages