rbldnsd is extremly fast - it outperforms both bind and djbdns greatly. It has very small memory footprint. Currently (2002-11), machine as small as i486-100 with 32Mb memory can be a DNS server for all zones of relays.osirusoft.com just fine. Compare this with requiriments for bind - 256Mb memory and 400MHz PPro or higher machine. On PII-233 machine and with relays.osirusoft.com zones (more than 360,000 records in combined zone), it performs as many as 3500 requests per secound - limited by machine's networking support only, requires less than 6Mb memory to operate, and takes 5 secounds to (re)load all zones.
The daemon can serve both IP-based (ordb.org, dsbl.org etc) and name-based (rfc-ignorant.org) blocklists. Unlike DJB's rbldns, it has ability to specify individual values for every entry, and can serve as many zones on a single IP address as you wish. The daemon keeps all zones in memory for faster operations, but it's memory usage is very efficient, especially for repeated TXT values which keept only once.
:127.0.0.2:Open relay, see http://relays.example.com/lookup?$ # The above is a default or implicit value which is used when no value given # for an entry. The `$' characters will be replaced by an IP address in # question. 127.0.0.2 # A simplest case: single IP address, with default value. 10.8.60.0/24 :127.0.0.3:Address $ is from private IP range # Netblock - 256 IP addresses with it's own A and TXT records 224/4 Reserved multicast address # Another netblock, with default A and explitit TXT values. 192.168 Dialup pool, see http://dialups.example.com/lookup?$ for explanations # IP numbers may be abbreviated, the above is the same as 192.168.0.0/16 10.10 :5:This network blocked due to massive spam issues # A value may be abbreviated as well - :5: is the same as :127.0.0.5:. 10.10.5-129 :5:Those hosts are nasty # repeat last octet: 10.10.5.0..10.10.129.255 inclusive !10.10.1.2 # exclusion entry # # The following examples are for name-based zones. example.com :2:This domain has no working postmaster@ address *.example.com :2:All subdomains of example.com lacks working abuse@ address # Simple and wildcarded entry, both will return 127.0.0.2 A record # # some specials $SOA 3000 ns1.example.com admin.example.com 0 600 300 86400 300 # Start of authority record (TTL 3000), with serial (0) computed as # a timestamp of data file $NS 3000 ns1.example.com $NS 3000 ns2.example.com # two nameserversThere are other zone formats available, including generic simplified bind-style format.
rbldnsd [options] zonename:type:fname,fname...There is no config file, rbldnsd accepts all configuration in command line. The same zonename may be repeated, to form zone contents from several datasets; ditto for a dataset, one dataset may be used for several zones (data will be loaded only once). See manual page included in tarball for details.
Note: versions between 0.2 and 0.82 inclusive contains a trivial buffer-overflow bug which was corrected in 0.83. This was a too stupid bug - initial code was right and was written carefully, but subsequent changes removed that check altogether... Oh well...
Last version, 0.96, released 29 May 2003, can be found here, recent news are here, changelog is here. Look here for installable packages.
Page last modified (except of bumping version number) Thu, 8 May 2003 17:40:11 +0400 by mjt.