summaryrefslogtreecommitdiff
blob: ccbe1e91da0dd7b4a7120329b9a1b0f74b98bb8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# options for rbldnsd
#
# for initial testing, copy example zone file to /var/db/rbldnsd
# NOTE: make sure nothing listens on 127.0.0.1:53
#
# OPTIONS="-q -r /var/db/rbldnsd -b 127.0.0.1 \
#	-u rbldns -p /var/run/rbldnsd.pid \
#	rbl.example.com:ip4set:example"

# check if it works by executing
# dig @localhost 1.0.0.127.rbl.example.com. any
# - or -
# host -a 1.0.0.127.rbl.example.com. localhost

# the result should include something like

# ANSWER SECTION:
# 1.0.0.127.rbl.example.com. 2100 IN      A       127.0.0.2
# 1.0.0.127.rbl.example.com. 2100 IN      TXT     "spam received, see http://rbl.example.com/lookup?127.0.0.1"