rblckeck(1) | General Commands Manual | rblckeck(1) |
rblckeck - DNSBL lookup utility
rblcheck [-s zone] [-S zone-file] [-c] [-tmvq] [-n nsaddr] address...
rblcheck is a simple command-line to perform DNSBL (DNS-based blocklists) lookups. For every IP address (or a name, in which case it will be resolved to an address first), the utility verifies whenever it is listed in a (list of) DNS blocklists specified with -s or -S options, optionally obtains text assotiated with the listing (usually it is either some description about the reason of the listing or an URL referring to such a description), and displays results on standard output.
The program is implemented on top of udns(3) library.
The following options are recognized by rblcheck:
If no -s, -S and -c options are given, rblcheck will try to obtain list of zones using $RBLCHECK_ZONES environment variable, or ~/.rblcheckrc, or /etc/rblckechrc files, in that order. If no zones are found, it will exit unsuccessefully.
When no addresses given are listed and no errors occured, rblcheck exits with code 0. If at least one address is listed, rblcheck returns 100. In case of DNS errors, rblcheck returns 2.
This program and manual pages are written by Michael Tokarev.
Apr 2005 | User Utilities |