[rbldnsd] Question regarding use of rbldnsd with MAPS RBL

furio ercolessi furio at spin.it
Sat Apr 23 00:57:34 MSD 2005


On Fri, Apr 22, 2005 at 11:39:40PM +0400, Michael Tokarev wrote:
> Mark Hennessy wrote:
> >Does anyone have an example script for pulling down the zone for MAPS RBL 
> >for
> >use with rbldnsd?
> >I can't seem to find one anywhere and I have only just started trying to 
> >set
> >up rbldnsd.
> 
> I've never saw the zones myself.  

They are weird, because IPs in common between the subzones are handled
with a bitmask in the return code rather than with multiple entries
(like Osirusoft did, and now XBL does).

So if, say, RBL contains 100.100.0.0/16 and RSS contains 100.100.100.100/32,
the RBL+ file would contain something like (in Bind notation)

100.100.0.0/24     127.1.0.1
100.100.1.0/24     127.1.0.1
....                ...
100.100.99.0/24    127.1.0.1
100.100.100.0/32   127.1.0.1
100.100.100.1/32   127.1.0.1
....                ...
100.100.100.99/32  127.1.0.1
100.100.100.100/32 127.1.0.5
100.100.100.101/32 127.1.0.1
....                ...
100.100.100.255/32 127.1.0.1
100.100.101.0/24   127.1.0.1
....                ...
100.100.255.0/24   127.1.0.1

So, in this example, two records in the original zones become
511 records in the combined zone.
The result is that RBL+ splitting into the original subzones requires 
a considerable reaggregation work to obtain something sane and compact.
To be honest, I always thought that the RBL+ aggregation scheme
is not the smartest of ideas.

furio



More information about the rbldnsd mailing list