dns performance test tools.
Usage: sudo ./dnstool -s ip [-p port] [-n counts] -l local_ip -d datafile
-s ip: the server to query
-p port: the port on which to query the server
-l ip: the local address from which to send queries
-n counts: repeatedly the datafile counts times
-d datafile: the input data file
Example:
$ cat test.txt
www.google.com.hk
$ sudo ./dnstool -s 192.168.44.128 -d test.txt -n 1000000 -l 192.168.44.137
ip=192.168.44.128, port=53
Total = 1000000
Cost = 10.6559 seconds
Rate = 93844.7 pps
The fastest way to get response is to send email to my mail [email protected]
Please refer to LICENSE file.