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:
Source: https://svn.nmap.org/nmap/nselib/dnsbl.lua