godnsrblbench - a DNS RBL benchmark tool
$ sudo godnsrblbench -i eth0 -v -c 192.0.2.10 -s example.com -r "62.116.131.31:53/rbldns.example.org,62.116.159.19:53/example.test"
godnsrblbench is a DNS RBL benchmark tool. It collects RBL query results from a list of RBL providers and sends them to syslog, where they can be gathered for later comparison and analysis.
The program captures all DNS pakets from a specified IP address (see: option
-c). It checks if the DNS query matches the domain speficied with option
-s. If the query matches the domain it will remove the domain string and it
will create a new query for every RBL provider specified with option -r. The
query results will be sent to syslog
.
- -h
-
Output help information.
- -c string (default
8.8.8.8
) -
IP address of the DNS server to capture messages from (default "8.8.8.8")
- -i string (default
iwn0
) -
Interface for packet capture (default "iwn0")
- -l
-
Enumerate network devices
- -r string (default: none)
-
List of DNS RBL Provider to test. Format '<ip>:<port>/<domain, …'
- -s string (default: none)
-
DNS Suffix used to filter DNS query data (name of a RBLDNS provider)
- -v
-
Verbose log output
- -f
-
string (default: 'SYSLOG') Syslog Facility (KERN, USER, MAIL, DAEMON, AUTH, SYSLOG, LPR, NEWS, UUCP, CRON, AUTHPRIV, FTP, LOCAL[0-7])
-y: string (default 'NOTICE') Syslog Severity (EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG)
Project web site: https://github.com/sys4/godnsrblbench