Skip to content

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

Notifications You must be signed in to change notification settings

linkerlin/Tcp-DNS-proxy

 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%