Hack Forums
[TUT] Fix DNS Leaking - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat β€’ Purple Team β€’ Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: [TUT] Fix DNS Leaking (/showthread.php?tid=3245452)



[TUT] Fix DNS Leaking - rfpd - Feb 9, 2013

Most of you use a proxy and think that's it I'm safe but you are wrong, if you don't fix your dns leaking you are leaving small clues behind.

[img]http://www.dnsleaktest.com/img/what-is-a-dns-leak.png[/img]

Now how do we fix this? Navigate to this website http://www.dnsleaktest.com/.

Now imagine I've just connected to a proxy. You can see that everything seems normal it says you are in england and in fact you are in china (for example).

[img]http://s3.postimage.org/oompdajmb/Sem_T_tulo.png[/img]

Now you check for dns leaking and you get this:

[img]http://s18.postimage.org/ae98spwk9/Sem_T_tulo.png[/img]

You are supposed to get only one value there, so what to do?

1 - Open cmd as admin and type netsh interface show interface
[img]http://www.dnsleaktest.com/img/winfix1.png[/img]

2 - It's the first Local connection that matters so you are going to type this on cmd:
netsh interface IPv4 set dnsservers "Local Area Connection" static 0.0.0.0 both

(If you get a message like it's incorrect or does not exist it's a good sign it means it worked)

3- Check again for dns leaks and you will get only one value or more but none of them will be your real ip:

[img]http://s7.postimage.org/a5twtdqfv/Sem_T_tulo.png[/img]

After turning off your proxy open cmd as admin and type this:

netsh interface IPv4 set dnsservers "Local Area Connection" dhcp

Source:
http://www.dnsleaktest.com/

Hope you liked it :)


* - zibi - Feb 9, 2013

Thank you very much.
Great tutorial !


* - rfpd - Feb 9, 2013

(Feb 9, 2013 03:31 PM)Stavros Wrote:  Thank you very much.
Great tutorial !

Thanks mate, I'm glad you liked it 🀝


* - teonanacalt - Feb 9, 2013

Very useful guide for who don't know about this. Thank a lot.
Nice tutorial..keep on.


* - rfpd - Feb 9, 2013

(Feb 9, 2013 06:33 PM)teonanacalt Wrote:  Very useful guide for who don't know about this. Thank a lot.
Nice tutorial..keep on.

Thanks a lot man I'm glad you liked itπŸ˜‰


* - rfpd - Feb 11, 2013

Please keep this thread alive many people don't know about this and this is very important unless you want to get caught!


* - Automatic Coding - Feb 11, 2013

Although I'm not going to use this for DNS leak testing, it's still a nice site to know when ISPs are hijacking your DNS requests.


* - seawolve1 - Mar 10, 2013

I just tried this and found 3 Google servers connected. I downloaded dnsfix and it only removed 1 of them. I have to explore this further. Damn Google is everywhere...


* - samrokzz - Mar 10, 2013

Fixing dns leaking doesn't means everything ,They can track your IP packets .


* - juansanchez - Mar 10, 2013

Thank you for the tutorial. I knew nothing about this.


(Mar 10, 2013 10:28 AM)samrokzz Wrote:  Fixing dns leaking doesn't means everything ,They can track your IP packets .

Who are "they" my friend ?
And from where "they" can track your ip packets ? From your isp logs ?


* - rfpd - Mar 24, 2013

(Mar 10, 2013 12:50 PM)juansanchez Wrote:  Thank you for the tutorial. I knew nothing about this.



Who are "they" my friend ?
And from where "they" can track your ip packets ? From your isp logs ?

No problem, I'm here to help ;). I don't think they can track your ip packets unless they get the proxy logs (some proxies save logs), some programs fix dns leak and they don't keep logs, but there are programs that don't fix dns leaking and this is very dangerous! My advice is get anonymoX, it doesn't keep logs (I think) and it fixes dns leaks, you don't need to do this manually!