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:
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 ...