Library dnsbl
A minimalistic DNS BlackList library implemented to facilitate querying various DNSBL services. The current list of services has been implemented based on the following compilations of services:
- http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
- http://www.robtex.com
- http://www.sdsc.edu/~jeff/spam/cbc.html
The library implements a helper class through which script may access the BL services. A typical script implementation could look like this:
local helper = dnsbl.Helper:new("SPAM", "short") helper:setFilter('dnsbl.inps.de') local status, result = helper:checkBL(host.ip) ... formatting code ...
Author: