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 <dianne@skoll.ca>
Copyright (c) 2010 Roaring Penguin Software Copyright (c) 2022 Dianne Skoll
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::DNSBL::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNSBL::Client
CPAN shell
perl -MCPAN -e shell install Net::DNSBL::Client
For more information on module installation, please visit the detailed CPAN module installation guide.