As you know, China is a "magical" country! The govenment made a firewall named by Great Firewall(GFW), the purpose of the GFW is to block some website such as twitter.com, facebook.com and so on.
One of the method of GFW is DNS poisoning, while this project is to avoid the DNS poisoning.
This project use python script, but I just have a little skill with python, so the main script is based on henices/Tcp-DNS-proxy.
If you are not a pythoner, maybe you can try my another project isayme/fuck_dns which is also associated with DNS poisoning.
- change your dns server to 127.0.0.1
$ vi /etc/resolve.conf
nameserver 127.0.0.1 - restart the network $ sudo /etc/init.d/networking restart
- run the script $ sudo python DnsByTcp.py
- change your dns server to 127.0.0.1, you can use my bat script(cdns.bat) and follow its prompt message to change your dns server fastly.
- run the script $ sudo python DnsByTcp.py