[rbldnsd] stand alone rbldnsd server, no bind

Scot W scot_a_w at yahoo.com
Mon Sep 13 18:01:23 MSD 2004


I was certain that with a little messing around I
could make this work.  However I must cry "uncle" and
ask for a little guidance.

A friend of mine was complaining that her non-profit
was beseiged with SPAM but the board couldn't justify
spending $$ on computers.  I had often read about
rbldnsd and thought I could put together a box for her
from retired equipment here.

I have a stand alone P400 256Mb box with Red Hat 9. 
Downloaded the RPM for .993 and installed fine. 
Rsynced a file from CBL as an example and thought I
was good to go.  I was wrong.

Did a little Googling and found some helpful
directions at njabl.org and surbl.org that I thought
would solve my problems, again, no joy.

Following is my config, would appreciate someone
showing me the error of my ways.

Edited /etc/sysconfig/rbldnds to show:
RBLDNSD="rbldnsd -r/usr/local/etc/rbldnsd -t21600 -c60
\
          -b127.0.0.1/53 \
          maps.nonprofit.local:ip4set:blocked"


File in /usr/local/etc/rbldnsd is named blocked.txt
and contains (a sample of the lines):
:127.0.0.2:BLOCKED for E-Mail abuse.  See Open RBL or
SenderBase to see what RBLs have your IP listed.

#$TTL 3600

12.0.0.0-12.23.3.3 (first line of file)
127.0.0.2 (last line of file)

Right now I just want rbldnsd to run so I am manually
issuing the command to start rbldnsd.  I have tried a
couple of commands (following) but both return errors.

[root at localhost root]# rbldnsd
-r/usr/local/etc/rbldnsd -t21600 -c60 -b127.0.0.1/53
127.0.0.1:ip4set:blocked.txt
rbldnsd: listening on 127.0.0.1/53
rbldnsd: file blocked.txt(2): invalid or unrecognized
special entry
rbldnsd: file blocked.txt(3): invalid address
rbldnsd: file blocked.txt(4): invalid address
rbldnsd: file blocked.txt(5): invalid address
rbldnsd: file blocked.txt(6): invalid address
rbldnsd: ip4set:blocked.txt: 188 more warnings
suppressed
rbldnsd: ip4set:blocked.txt: 20040908 055859:
e32/24/16/8=0/0/0/0
rbldnsd: zones reloaded, time 0.0e/0.0u sec, mem
arena=94 free=9 mmap=0 Kb
rbldnsd: rbldnsd version 0.993.1 (29 Jul 2004) started
(1 socket(s), 1 zone(s))

SECOND EXAMPLE

[root at localhost root]# rbldnsd
-r/usr/local/etc/rbldnsd -t21600 -c60 -b127.0.0.1/53
127.0.0.1:ip4set:blocked
rbldnsd: listening on 127.0.0.1/53
rbldnsd: unable to stat file `blocked': No such file
or directory
rbldnsd: zone 127.0.0.1: zone will not be serviced
rbldnsd: zones reloaded, time 0.0e/0.0u sec, mem
arena=30 free=9 mmap=0 Kb
rbldnsd: zone loading errors, aborting

I am obviously missing something that should be clear,
unfortunately it is right in front of my face but not
plain enough.

TIA for the help.


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


More information about the rbldnsd mailing list