Prevent IPv6 DNS contamination and Cache Poisoning: query DNS using TCP protocol

Source: Internet
Author: User

Due to some well-known reasons, IPv6 DNS queries are also contaminated. In the past, when IPv6 was used alone, it would be easier for researchers in colleges and universities to access the Internet simply and scientifically. But Cocoa thought of a good way to brush his teeth last night. I would like to share with you: PPrinciple:Generally, DNS queries are performed over UDP. However, some DNS servers receive TCP requests (such as Google Public DNS ). Currently, widow wang only pollutes UDP traffic on port 53, TCP traffic is left unattended (Cocoa guesses that this is unrelated to some digital products that use the 53-port hidden channel to transmit user privacy ). Therefore, we can build a DNS proxy on the local machine and use the TCP protocol to query the Google Public DNS. After obtaining the proxy, we can use UDP to transmit it to the local machine. Tests show that this can prevent IPv6 DNS contamination. Usage: If your machine has Python: Download Python source code: http://www.bkjia.com/uploadfile/2013/0305/20130305104119956.rar
Run "python tcpv6dns. "py" (remember to run it every time you start the system, otherwise it will not be accessible to the Internet. We recommend that you save it as a batch and add it to the Startup menu) set the local DNS server address to 127.0.0.1 to freely access the internet. If your machine does not have Python installed, download the Cocoa package exe: http://www.bkjia.com/uploadfile/2013/0305/20130305104119554.rar each boot run will be the local DNS server address set 127.0.0.1 free access thanks: IPv4 TCP query DNS code from here: https://github.com/henices/Tcp-DNS-proxy Cocoa changed it to the IPv6 version, I would like to express my gratitude to the original author.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.