[rbldnsd] Problem with exclusion entries
Oli Schacher
rbldnsd at lists.wgwh.ch
Mon Dec 3 18:32:51 MSK 2012
Hi
I have a daemon that writes lots of single IPs in a rbldsnd ip4set
file. I want to whitelist some ranges, so I thought I just add
exclusion entries for those networks to be sure they never get listed.
However, these exclusion entries don't seem to work. I reduced this to
a simple test case:
cat test.rbldnsd:
192.168.10.10
!192.168.10.0/24
The doc states "if an entry starts with an exclamation sign (!), this
is an exclusion entry, i.e. corresponding address range is excluded
from being listed (and any value for this record is ignored).", so if I
understand this correctly, the entry '192.168.10.10' should be ignored
since 192.168.10.0/24 is exluded.
but:
sudo rbldnsd -e -n -w . -b 127.0.0.1/530 example.net:ip4set:test.rbldnsd
rbldnsd: listening on 127.0.0.1/530
rbldnsd: ip4set:test.rbldnsd: 20121203 135850: e32/24/16/8=1/1/0/0
rbldnsd: zones reloaded, time 0.0e/0.0u sec, mem arena=132 free=45 mmap=0 Kb
rbldnsd: rbldnsd version 0.996b (29 Mar 2008) started (1 socket(s), 1 zone(s))
dig 10.10.168.192.example.net @127.0.0.1 -p 530 +short
127.0.0.2
What am I doing wrong?
Thanks
Oli
--
message transmitted on 100% recycled electrons
More information about the rbldnsd
mailing list