[rbldnsd] Way to many hours spent.....

Michael Tokarev mjt at tls.msk.ru
Thu Jan 6 01:23:32 MSK 2005


Bob wrote:
> Okay when all else fails ask someone that has already succeeded for 
> help......
> Simple put rbldnsd has me stumped, we get refused alot and don't know 
> why....
>  
> the startup file contains the following:
>  
> #!/bin/bash
> /usr/sbin/rbldnsd -n -4 -u rbldns -r /rbl -w ./ -b 206.72.42.240/53 -c 
> 1m -f -l +accesslog ns1.sarsrbl.org:ip4tset:rblzone

What's ns1.sarsrbl.org here?  It should be the name of the zone, not
the name of a nameserver.

[]
> 1104939449 206.72.42.240 127.0.0.2 TXT IN: REFUSED/0/27
> ; <<>> DiG 9.2.1 <<>> @206.72.42.240 txt 127.0.0.2

Here we go.

First of all, it isn't 127.0.0.2, it's 2.0.0.127 -- the octets
in an IPv4 address should be reversed when making a dns query,
pretty like when you query in-addr.arpa (reverse dns) zone.

Second, you forget the zone basename -- the same thing as you
specified incorrectly in the rbldnsd command line.  With that
specifications above, you should query for 2.0.0.127.ns1.sarsrbl.org
instead of 127.0.0.2.  You append the reversed IP to the base
zone name, just like with in-addr.arpa lookups.

/mjt


More information about the rbldnsd mailing list