improve anonymity by getting rid of DNS leaks

Stuff that don´t fit in the other categories.
Post Reply
User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

improve anonymity by getting rid of DNS leaks

Post by bad_brain »

because of a little personal project I am working on lately I stumbled over the problem of DNS leaks when making requests (visiting a site, sending a mail, etc.), by making DNS requests your real IP can be revealed even if you use services like Tor. ok, not directly by the site you visit or the mailserver you connect, but those requests are logged at your ISP for example (usually the ISP's DNS service is the standard that is pre-set).
there are add-ons for Tor like torsocks, and you can also set specific DNS servers in proxychains, but the first one is a bitch to set up, and the latter one was simply not working for me together with my Perl script.

so here is how you fix this DNS leak IN GENERAL on your system without any extra software:
- if your router acts as gateway check the web admin iface, you should be able to set the used DNS servers there
- if you are connecting directly (or just looped through the router:
- Windows: set the DNS servers in the TCP/IP settings
- Linux: add the DNS servers manually to the interface, syntax is

Code: Select all

auto wlan0
iface wlan0 inet manual
dns-nameservers 89.233.43.71 89.104.194.142
so you simply add the dns-nameservers line after the usual iface config.

reboot, then check if the settings have been applied:
- windows: ipconfig /all
- linux nm-tools |grep DNS

there are a couple of anonymous DNS servers that run no logs, I am using 89.233.43.71 89.104.194.142 at the moment, both located in NL and working fast and fine.
Image

User avatar
CommonStray
Forum Assassin
Forum Assassin
Posts: 1215
Joined: 20 Aug 2005, 16:00
18

Re: improve anonymity by getting rid of DNS leaks

Post by CommonStray »

The DNS i use is in Nigeria, and every time you connect to it your entered into a lottery.

User avatar
lilrofl
Siliconoclast
Siliconoclast
Posts: 1363
Joined: 28 Jan 2009, 17:00
15
Location: California, USA
Contact:

Re: improve anonymity by getting rid of DNS leaks

Post by lilrofl »

CommonStray wrote:The DNS i use is in Nigeria, and every time you connect to it your entered into a lottery.
:lol:
knuffeltjes voor mijn knuffel
[img]http://i911.photobucket.com/albums/ac320/stuphsack/Sig.jpg[/img]

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Re: improve anonymity by getting rid of DNS leaks

Post by computathug »

CommonStray wrote:The DNS i use is in Nigeria, and every time you connect to it your entered into a lottery.
Is that one of them 'win a prize every time' lottery's :-k
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com

Post Reply