Net::RBLClient(3) Queries multiple Realtime Blackhole Lists in parallel

CONSTRUCTOR

new( [ARGS] )
Takes an optional hash of arguments:
lists
An arraref of (sub)domains representing RBLs. In other words, each element in the array is a string similar to 'relays.somerbl.org'. Use this if you want to query a specific list of RBL's - if this argument is omitted, a large list of RBL's is queried.
query_txt
Set this to true if you want Net::RBLClient to also query for TXT records, in which many RBL's store additional information about the reason for including an IP address or links to pages that contain such information. You can then retrieve these information using the ``txt_hash()'' method.
max_time
The maximum time in seconds that the lookup function should take. In fact, the function can take up to "max_time + timeout" seconds. Max_time need not be integer. Of course, if the lookup returns due to max_time, some DNS replies will be missed.

Default: 8 seconds.

timeout
The maximum time in seconds spent awaiting each DNS reply packet. The only reason to change this is if "max_time" is decreased to a small value.

Default: 1 second.

max_hits
A hit is an affirmative response, stating that the IP address is on a certain list. If "max_hits" hits are received, "lookup()" returns immediately. This lets the calling program save time.

Default: 1000 (effectively out of the picture).

max_replies
A reply from an RBL could be affirmative or negative. Either way, it counts towards "max_replies". "Lookup()" returns when "max_replies" replies have been received.
udp_maxlen
The maximum number of bytes read from a DNS reply packet. There's probably no reason to change this.

Default: 4000

server
The local nameserver to use for all queries. Should be either a resolvable hostname or a dotted quad IP address.

By default, the first nameserver in /etc/resolv.conf will be used.