/Tcp-DNS-proxy

Send tcp dns query to remote DNS server to get the right ip address

Primary LanguagePython

How to use this python 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 python tcpdns.py

Dependencies

libraries

python moudules

INSTALL

  sudo apt-get install libevent-dev
  sudo pip install gevent
  sudo pip install dnspython