How to config DNS onto TCP from UDP
- by Dante Jiang
Google DNS (8.8.8.8 and 8.8.4.4) are blocked (or polluted) by all ISPs available to me (and DNS by ISPs just return wrong answers for some sensitive sites!!), and it is said that if we change DNS from UDP onto TCP, the problem can be temporarily solved.
My question is: how to config that on Windows 7?
The solution provided by the original post:
Windows 7 Ultimate
DnsApi.dll v6.1.7601.17570
.text:6DC08FC8 8B 46 10 mov eax, [esi+10h]
.text:6DC08FCB 89 45 F4 mov [ebp+var_C], eax
var_C - 2
85A0: 90 90 90 90 90 -> 33 C0 40 EB 25
85C8: 8B 46 10 -> EB D6 40
I have not figure out how the original solution works so far. It needs to modify the .dll file, and the post provides a .dll after modification. However, I wish there was a solution without this kind of hacking.