Jump to content
Not connected, Your IP: 13.59.234.182
Sign in to follow this  
inc

Eddie not restoring DNS settings

Recommended Posts

I have installed Eddie  2.11.7 on a Debian Sid system and it works fine apart from one issue. Previously I had been either using cli or Network-Manager to connect to Airvpn and my computer worked fine connected or not to Airvpn. Now I am using Eddie with the network lock option and when I when I am using the pc without Eddie running and no network lock I still have no DNS. It look like Eddie is not restoring the pc default DNS settings, any suggestions welcome.

Share this post


Link to post

Hello!

 

There is a bug with Eddie 2.11.7 and immutable flag (fixed in 2.11.8). Can you please upgrade to Eddie 2.11.8 beta and check again? If the problem was caused by this bug, you should see the problem resolved.

 

Kind regards

Share this post


Link to post

I have tried 2.11.8 and have the same problem. Looking at my etc/resolve.conf  it says

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

nameserver 10.4.0.1

this setting for me is normally 127.0.0.1 sitting behind my router

Share this post


Link to post

Apologies I was still connected when I copied the /etc/resolve.conf     this is the one when disconnected

 Generated by dhcpcd from eth0.dhcp6, eth0.ra
# /etc/resolv.conf.head can replace this line
search xxxxxx.com
nameserver 2a02:390:72 xxxxxxxxxxxxxxxxxxx
# /etc/resolv.conf.tail can replace this line


I have tried adding 127.0.0.1 to /etc/resolv.head and tail ( separately ) but this makes no difference. I have obscured my isp details

Share this post


Link to post

Yeah, Eddie is supposed to overwrite the DNS settings to 10.4.x.x when it connects, but the problem was that with 2.11.7 it wasn't changing it back to 127.0.x.x when it was closed out.  In 2.11.8 it does change it back.

 

You may need to manually change it back once after upgrading to 2.11.8 so that it knows what the "default" value is on the first connection.  But subsquently, it should change it back after the SIGTERM.

 

Edit: I just realized this thread is about a Debian build.  My post may nor may not apply.  See this thread:  https://airvpn.org/topic/20554-dns-fails-resolvconf-not-updated/

Share this post


Link to post

Well after four hours I think I may have sorted it. I don't know if there were conflicts as dhcpcd and resolvconf seem to do similar jobs handling daemons that like to edit /etc/resolv.conf.I uninstalled them both trying to find a way to edit resov.conf to get online as the file was locked. I eventually discovered how to unlock it and entered 127.0.0.1 as the nameserver and I was back online. I installed Network-Manager which I knew would generate a working resolv.conf and openresolv. I then got Airvpn working with Network Manager but with a leaky DNS. Finally I reinstalled Eddie and it now seems to be work OK and revert back to a default DNS setting when not working. I am looking forward to Eddie ver 3 when I can remove all this mono crap.

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
Sign in to follow this  

×
×
  • Create New...