A Lua version of DNS forwarder which can get the REAL IP address
Lua Batchfile Visual Basic
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
win
LICENSE.txt
README-zh.md
README.md
dnsforwarder.lua
task.lua

README.md

How to use this Lua script ?

  1. change your dns server to 127.0.0.1
$ vi /etc/resolve.conf  
nameserver 127.0.0.1
  1. restart the network
$ sudo /etc/init.d/networking restart
  1. run the script
$ sudo lua dnsforwarder.lua

Dependencies

lua moudules

INSTALL

  sudo luarocks install luasocket

LICENSE

DNSForwarder is distributed under the MIT license.