# # 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"