Skip to content

alandtsang/dnstool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnstool

License

dns performance test tools.

Usage

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

Get Help

The fastest way to get response is to send email to my mail zengxianglong0@gmail.com

License

Please refer to LICENSE file.