dnsperf -> dnseval

This commit is contained in:
Babak Farrokhi 2016-04-09 11:40:08 +04:30
parent 9e5adde1bb
commit adfb7a5aaf
Signed by: farrokhi
GPG Key ID: 6B267AD85D632E9A

View File

@ -15,11 +15,12 @@ it is not being redirected or hijacked. This can be done by comparing different
DNS queries being sent to the same DNS server using `dnstraceroute` and observe
if there is any difference between the path.
`dnsperf` helps you choose the best DNS server for your network. While it is
highly recommended to use your own DNS resolver and never trust any third-party
DNS server, but in case you need to choose the best DNS forwarder for your
network, `dnsperf` lets you compare different DNS servers from performance
(latency) and reliability (loss) point of view.
`dnseval` evaluates multiple DNS resolvers and helps you choose the best DNS
server for your network. While it is highly recommended to use your own DNS
resolver and never trust any third-party DNS server, but in case you need to
choose the best DNS forwarder for your network, `dnseval` lets you compare
different DNS servers from performance (latency) and reliability (loss) point
of view.
# prerequisites
This script requires python3 as well as latest
@ -45,24 +46,6 @@ min=145.201 ms, avg=154.388 ms, max=161.607 ms, stddev=8.378 ms
This script calculates minimum, maximum and average response time as well as
jitter (stddev)
# dnsperf
dnsperf is a bulk ping utility that sends an arbitrary DNS query to a give list
of DNS servers. This script is meant for comparing response time of multiple
DNS servers at once:
```
% ./dnsperf.py wikipedia.org
server avg(ms) min(ms) max(ms) stddev(ms) lost(%)
--------------------------------------------------------------------------
4.2.2.1 151.067 131.270 221.742 28.643 %10
4.2.2.2 142.175 132.921 178.133 13.348 %0
64.6.64.6 133.047 109.145 162.938 20.609 %0
64.6.65.6 377.270 97.669 661.471 172.717 %0
8.8.4.4 389.048 294.581 511.134 67.953 %0
8.8.8.8 0.000 0.000 0.000 0.000 %100
208.67.222.222 179.068 135.975 258.582 50.681 %0
208.67.220.220 137.817 135.822 140.113 1.504 %0
```
# dnstraceroute
dnstraceroute is a traceroute utility to figure out the path that your DNS
request is passing through to get to its destination. You may want to compare
@ -84,3 +67,20 @@ routed to any unwanted path.
10 a.resolvers.level3.net (4.2.2.1) 171 ms
```
# dnseval
dnseval is a bulk ping utility that sends an arbitrary DNS query to a give list
of DNS servers. This script is meant for comparing response time of multiple
DNS servers at once:
```
% ./dnseval.py wikipedia.org
server avg(ms) min(ms) max(ms) stddev(ms) lost(%)
--------------------------------------------------------------------------
4.2.2.1 151.067 131.270 221.742 28.643 %10
4.2.2.2 142.175 132.921 178.133 13.348 %0
64.6.64.6 133.047 109.145 162.938 20.609 %0
64.6.65.6 377.270 97.669 661.471 172.717 %0
8.8.4.4 389.048 294.581 511.134 67.953 %0
8.8.8.8 0.000 0.000 0.000 0.000 %100
208.67.222.222 179.068 135.975 258.582 50.681 %0
208.67.220.220 137.817 135.822 140.113 1.504 %0
```