-
Notifications
You must be signed in to change notification settings - Fork 2
answer dns queries with fixed IP
License
awaw/dnsreflector
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
About
answer dns queries with fixed IP
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published