dns-proxy with automatic banned ip detection
- luajit
- luasocket
- lua-cjson
- Get blacklist dump in json format:
wget 'https://reestr.rublacklist.net/api/v2/ips/json' -O blacklist.json
- Modify config.lua
- run
luajit ./dns.lua
- .....
- PROFIT!
You may need to run it as root, to bind to port 53