[rbldnsd] newbie help

Michael Tokarev rbldnsd@corpit.ru
Mon, 25 Aug 2003 23:54:25 +0400


Alex Broens wrote:
[]
> I'd like to:
> - run as as a local rbl server.
> - mirror easynet.nl & spews zones picked up by spfilter.
> 
> So far its installed doing nothing - not even starting because I can't get the right look into the /etc/sysconfig/rbldnsd file.
> 
> the sample is below and no matter whatIve done, nothing positive happens.
> Can't figure out where to put the files picked up by spfilter either.
> no matter where I look docs seem very sparse.

Umm... this is not good... ;)

you have your data: list of IP addresses, one per line, with
optional text descriptions.  This format is handled by ip4set
in rbldnsd.   Let's say this is a SPEWS level1 listing and you
placed this data to /var/lib/rbldns/spews.  Now you should
descide which zone it should belong to, and where this zone
should be serviced - i.e. on which IP address you want rbldnsd
to listen.  Let's say you want to use spews.bl.example.com zone
and want rbldnsd to listen on 127.0.0.2.

[]
> # /etc/sysconfig/rbldnsd
> # This file should set one variable, RBLDNSD, to be a multiline
> # list of all instances of rbldnsd to start.  Every line in that
> # list consist of a key (basename for a pid file), and rbldnsd
> # command line, e.g.:
> #
> # RBLDNSD="dsbl -r/var/lib/rbldns/dsbl -b127.2 list.dsbl.org:ip4set:list"

So you place something like:

RBLDNSD="spews -r/var/lib/rbldns -b 127.0.0.2 spews.bl.example.com:ip4set:spews"

into this file.  And tell your local nameserver that spews.bl.example.com's
nameserver is 127.0.0.2, by creating appropriate NS records in example.com
zone.

Add more zones this way - either by using multiple instances of rbldnsd
(each bound to different IP, with a separate LINE in RBLDNSD variable,
or by using the same instance, by adding more zone:type:file triples to
this single LINE in $RBLDNSD variable.

I don't see where the documentation and provided examples are
unclear.. but heh, I wrote it all, so it definitely clear for
me... ;)

/mjt