[rbldnsd] Removing dups

furio ercolessi rbldnsd@corpit.ru
Wed, 2 Apr 2003 18:19:46 +0200


On Wed, Apr 02, 2003 at 05:26:14PM +0400, Michael Tokarev wrote:
> furio ercolessi wrote:
> > 
> > ... | sort -n -t. -k 1,1 -k 2,2 -k 3,3 -k 4,4 | aggregate -i prefix | ...
> 
> Still, I don't see a good reason of doing this.  

We are doing this on some zones mostly for human use, not for rbldnsd.
In particular for the dialup DNSbls (PDL, Dynablock) I like to
see it clearly when they list a /16 or a /18, rather than 
scrolling several pages of /24's checking if any one is missing.

By the way: I can confirm now that when SBL lists some a.b.c.d/nn
network and a.b.c.d is not the base address for that network,
that is *not* a mistake but simply an expansion of a listing, 
where the original IP was kept to allow easy lookups of the problem
source.  So these records must be kept [ I am replacing
the original IP with the base address before feeding them to
rbldnsd, I don't know if this is really necessary or not .. ]

furio