Skip to content

gringolito/dns-perf-mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dns-perf-mon

This DNS performance monitor tool was build in order to keep track of the DNS performance from the Pi-hole that I installed in my home network. Since this Pi-hole is currently running on a Raspberry Pi Model B (Gen 1), which is not very powerful, I needed a tool to track this.

The dns-perf-mon runs daemonized and loads a list of domains from a TXT file (default: domains.txt) and stores all lookup information into a CSV file (default: dns-lookup-times.csv) file.

A most powerful analysis can be made using pandas with this output dataset.

Usage

The daemon has --help argument flag that helps to launch dns-perf-mon with custom parameters.

$ dns-perf-mon --help
Usage of dns-perf-mon:
  -domains string
        Domains list input file (default "domains.txt")
  -interval duration
        Interval between lookups (default 1m0s)
  -output string
        Output CSV file (default "dns-lookup-times.csv")

Domains list file, output CSV file and lookup interval can be customized upon daemon startup.

TODO

  • Statistical analysis with pandas
  • Webserver to provide visual information
  • Write some unit tests
  • Simple lookup time measure API (non-Monitor mode)

About

DNS performance monitor tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages