Jump to content
Not connected, Your IP: 3.135.184.195
dcarrera

DNS "leak" on Ubuntu

Recommended Posts

Hello,

 

I just started using AirVPN. I am very confused about the issue of DNS leaks and Linux. Unfortunately, I have not been able to find explanations in this forum; just the assertion that "DNS leaks don't happen on Linux". So...

 

1) When I go to dnsleak.com or dnsleaktest.com I get a warning that my DNS might be leaking. What does this warning mean for someone running Ubuntu 17.04?

 

2) If DNS leaks don't happen on Linux, what is this post about?:

 

https://airvpn.org/topic/22715-leaking-dns-with-ubuntu-1704/

 
What is the problem that that fix is fixing?
 
3) Finally, I am concerned that my ISP can use my DNS queries to know which websites I am visiting. How do I prevent that from happening?

 

Thanks for the help!

 

Share this post


Link to post

Hello,

 

I just started using AirVPN. I am very confused about the issue of DNS leaks and Linux. Unfortunately, I have not been able to find explanations in this forum; just the assertion that "DNS leaks don't happen on Linux". So...

 

1) When I go to dnsleak.com or dnsleaktest.com I get a warning that my DNS might be leaking. What does this warning mean for someone running Ubuntu 17.04?

 

2) If DNS leaks don't happen on Linux, what is this post about?:

 

https://airvpn.org/topic/22715-leaking-dns-with-ubuntu-1704/

 
What is the problem that that fix is fixing?
 
3) Finally, I am concerned that my ISP can use my DNS queries to know which websites I am visiting. How do I prevent that from happening?

 

Thanks for the help!

Hello,

1) Go to ipleak.net while connected to AirVPN and check if you see your ISP/country. If so, your ISP DNS is used instead of AIRVPN ones. This means that your ISP ""might"" know what websites you are visiting

2) For AirVPN staff, it's not a DNS leak. A DNS leak is (for them) when while your DNS parameters are set to a specific DNS but another DNS provider is used. It's mainly the case for Windows because Windows do not handle a specific DNS and in some circumstances it will still use the defaults DNS parameters instead of the one set by the user.

Here, the DNS are set BUT Ubuntu is overwritting them, the case is different. Is this happens to you, follow the instructions

3), You can prevent this from happening by using another DNS (AirVPN DNS for example) than the default ones

Share this post


Link to post

Hello victorab,

 

Thanks for the help. Some of this is beginning to make sense to me. Below are my replies:

 

Hello,

1) Go to ipleak.net while connected to AirVPN and check if you see your ISP/country. If so, your ISP DNS is used instead of AIRVPN ones. This means that your ISP ""might"" know what websites you are visiting

2) For AirVPN staff, it's not a DNS leak. A DNS leak is (for them) when while your DNS parameters are set to a specific DNS but another DNS provider is used. It's mainly the case for Windows because Windows do not handle a specific DNS and in some circumstances it will still use the defaults DNS parameters instead of the one set by the user.

Here, the DNS are set BUT Ubuntu is overwritting them, the case is different. Is this happens to you, follow the instructions

3), You can prevent this from happening by using another DNS (AirVPN DNS for example) than the default ones

 

1) On ipleak.net I see 56 DNS addresses. All of them are in my country except for one which is the VPN server that I'm using, which is in a different country. They seem to belong to Google (I didn't check them all). Does this mean that Google is my DNS server?

 

2) Thanks for explaining. I did the fix, and /etc/resolv.conf says that it was written by Eddie / airvpn.org, so that sounds good.

# Automatically generated by Eddie v2.12.4 | https://airvpn.org . Any manual change will be overridden.

nameserver 10.4.0.1

 

3) Thanks. That sounds like what I want to do. How do I get my computer to stick to the AirVPN DNS? I am not very good at networking, but normally you put the DNS server in /etc/resolv.conf and it is clear that AirVPN is in control of that file. So I don't know what else I'm supposed to do. I don't need to reboot, do I?

 

Thanks again for the help.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...