dnsblcheck - Command-line tool for checking IP addresses against DNSBLs.
dnsblcheck ip_address dnsbl1 [dnsbl2...]
Given an IP address and a list of DNSBL zones, dnsblcheck checks each zone for the IP address and prints a list of hits.
Each dnsbl entry is either a simple domain name (for example, zen.spamhaus.org) or a domain:type:data triple (for example, zen.spamhaus.org:match:127.0.0.4 or dnsbl.tld:mask:8). See the Net::DNSBL::Client documentation for details about match and mask zones.
The program's exit value is the number of DNSBLs that were hit.
Dianne Skoll <email@example.com>
Copyright (c) 2010 Roaring Penguin Software
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.