Jump to content
Not connected, Your IP: 34.200.218.187

Recommended Posts

Hello,

I use AirVPN with ubuntu server 18.04 in Raspberry Pi. Everything is fine but DNS leaks. I searched through web and got some solutions like setting up 

resolvconf
and relavant files but no success. How can I overcome this problem?

Share this post


Link to post

It's not leaking, it's simply unconfigured. If you are using Eddie, in Logs tab click the lifebelt icon and paste or upload the output here. If you choose to paste it, consider using LOG format, it's the top left button in the post editor.
If not using Eddie, one workaround could be to set the DNS servers statically to those on the specs page.


» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

Share this post


Link to post
On 7/26/2020 at 7:36 AM, myblank said:

Hello,

I use AirVPN with ubuntu server 18.04 in Raspberry Pi. Everything is fine but DNS leaks. I searched through web and got some solutions like setting up 


resolvconf
and relavant files but no success. How can I overcome this problem?

I've been unable to prevent DNS leaks in Ubuntu 18.04 no matter how hard I try. Even in 16.04 I thought I had a foolproof setup but then I tested at https://ipleak.net and found when my bandwidth was being hammered by a download I still had leaks despite adding /etc/openvpn/update-resolv-conf to my ovpn files. In the end I fixed it by adding an automated step to update resolv.conf to disable the loopback address as a name server once the vpn is connected:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver x1.x2.x3.x4
#nameserver 127.0.1.1


When the vpn disconnects resolv.conf is automatically overwritten again with the local name server enabled.

Ubuntu 18.04 uses a different mechanism for DNS that I don't understand well enough but anecdotally no one seems to have a 100% guaranteed method for preventing DNS leaks in 18.04.

Share this post


Link to post
1 hour ago, wintermute1912 said:

Ubuntu 18.04 uses a different mechanism for DNS that I don't understand well enough but anecdotally no one seems to have a 100% guaranteed method for preventing DNS leaks in 18.04.


There's this existence of Netplan in Ubuntu for network configuration. Is there something you can do with that?

» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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...