rbldns-data — compile the database used by rbldns
rbldns-data compiles a database in source form, in the file
data, into a compiled form, in the file
data.cdb, that is used by rbldns(1).
The compiled database in
data.cdb is a Bernstein Constant Database file.
data.cdb atomically, building a replacement in
data.cdb.tmp and atomically renaming that replacement into place when it has completely and successfully built it it and written it to disc.
So you can use it safely while rbldns(1) is running.
Trailing whitespace is removed from all lines, then all non-empty lines are recognized as follows:
Comments are ignored.
A record DNS queries are to be answered with
TXT record DNS queries are to be answered with
The IP address
ip is on the RBL blacklist/whitelist.
All IP addresses that share the first
n bits of
ip are on the RBL blacklist/whitelist.
This is CIDR notation.
n must be at least 8; and all bits of
ip past the
nth must be 0.
18.104.22.168/24 means all