The dnsreflector daemon listens for DNS queries on a local UDP port and
answers with records pointing back to localhost. Combined with pf(4) this
works as a bandwidth efficient spamtrap.
This program was written and tested with OpenBSD. If you are interested
in running dnsreflector on another platform, please contact me.
Installation
============
make
make install
PF Setup
========
table <spamd> persist
rdr inet proto udp from <spamd> to any port 53 -> 127.0.0.1 port 53000
Usage
=====
dnsreflector [-d] [-a address] [-p port] [-i ip]
-d Run as daemon in the background
-a address Bind to this address (default: 127.0.0.1)
-p port Bind to this port (default: 53000)
-i ip Answer with this IP instead of 127.0.0.1
Homepage
========
You can always find the latest version of dnsreflector at:
http://www.wolfermann.org/dnsreflector.html