Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2003 22:22:39 GMT
From:      Mark <admin@asarian-host.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Running rbldnsd
Message-ID:  <200311232222.HANMMDAC039763@asarian-host.net>

next in thread | raw e-mail | index | archive | help
Perhaps a bit off-topic, but since dynablock.easynet.nl's untimely demise, I
have been running the dynablock zone in BIND. Works great, but takes a
whopping 117MB! So, I tried using rbldnsd, which is about 10 times more
memory-efficient (!). I created a zone, dynablock.my-domain.info, and added
the zone-data, and start rbldns as follows:

rbldnsd -u bind:bind -r /usr/rbldns -b 127.0.0.1 -P 53 -c 0 \
dynablock.my-domain.info:generic:zoneheader.dynablock.my-domain.info \
dynablock.my-domain.info:ip4set:dynablock.my-domain.info

The "zoneheader.dynablock.my-domain.info" contains the following:

$NS 86400 ns1.my-domain.info
$SOA 1w ns1.my-domain.info admin.my-domain.info 0 2h 2h 1w 1h
@ 86400 A 127.0.0.1
dsl-cable-dhcp-dialup.ip 86400 A 127.0.0.2
dsl-cable-dhcp-dialup.ip 86400 TXT Dynamic/Residential IP range

Rbldsnd starts fine, without error, and says it loaded all zones:

rbldnsd: ip4set:dynablock.my-domain.info: 20031123 174253: \
e32/24/16/8=372826/241350/1001/0
rbldnsd: generic:zoneheader.dynablock.my-domain.info: 20031123 183814: e=3
rbldnsd: version 0.96 (29 May 2003) started (listening on [127.0.0.1]:53)

Yet, I cannot get any query to resolve on it:

% nslookup 218.65.86.15.dynablock.my-domain.info
*** Can't find server name for address 127.0.0.1: Query refused

I guess I misconfigured the "zoneheader" somehow. But I do not see how. Is
there anyone out there with a working knowledge of rbldns who can tell me
what I am doing wrong? It manages load load the whole dynablock zone in less
than 8MB (!), so it is worth trying to get to work, I'd say.

Thanks,

- Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311232222.HANMMDAC039763>