Disconnecting VPN breaks DNS

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
zebbeman
Level 1
Level 1
Posts: 6
Joined: Wed Oct 17, 2018 7:35 am

Disconnecting VPN breaks DNS

Post by zebbeman » Thu Jan 17, 2019 9:52 am

Hi,
When I disconnect my VPN, the original DNS is not restored, leaving me with no DNS (can only access IP addresses and hosts configured domains) . I have this issue with 19.0 and 19.1. The fast fix is to disconnect my Ethernet and reconnect. Does anyone know why this is happening?

I have a "normal" Ethernet with static IP, GW, and DNS.

My VPN is PPTP "Automatic (VPN)".

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: Disconnecting VPN breaks DNS

Post by mrmajik45 » Thu Jan 17, 2019 10:16 am

Use https://1.1.1.1 DNS. (Until we give a fix or you're satisfied.)
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

zebbeman
Level 1
Level 1
Posts: 6
Joined: Wed Oct 17, 2018 7:35 am

Re: Disconnecting VPN breaks DNS

Post by zebbeman » Thu Jan 17, 2019 10:57 am

I cannot type letters (https) in the dns field - is that what you meant?

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: Disconnecting VPN breaks DNS

Post by mrmajik45 » Thu Jan 17, 2019 11:59 am

Click the link. And click on Linux for setting up the DNS. It's basically a DNS with VPN built in.
Direct steps: https://developers.cloudflare.com/1.1.1 ... 1.1/linux/
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

zebbeman
Level 1
Level 1
Posts: 6
Joined: Wed Oct 17, 2018 7:35 am

Re: Disconnecting VPN breaks DNS

Post by zebbeman » Thu Jan 17, 2019 12:22 pm

I do not want to change DNS, is that what you are suggesting? How would that change the fact that the DNS is not restored after disconnecting the VPN?

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: Disconnecting VPN breaks DNS

Post by mrmajik45 » Thu Jan 17, 2019 12:42 pm

I mean you can use a DNS which hides your IP. Until someone more tech savvy here can help.
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

zebbeman
Level 1
Level 1
Posts: 6
Joined: Wed Oct 17, 2018 7:35 am

Re: Disconnecting VPN breaks DNS

Post by zebbeman » Thu Jan 17, 2019 1:07 pm

Aah, got it, it is not that kind of VPN :-) Thanks for the tip though

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: Disconnecting VPN breaks DNS

Post by mrmajik45 » Thu Jan 17, 2019 1:15 pm

What are you using it for?
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

nina22
Level 1
Level 1
Posts: 1
Joined: Sat Jan 19, 2019 2:11 pm

Re: Disconnecting VPN breaks DNS

Post by nina22 » Sat Jan 19, 2019 2:13 pm

change the fact that the DNS is not restored after disconnecting the VPN?

EdgarNo
Level 1
Level 1
Posts: 11
Joined: Mon Dec 17, 2018 3:35 pm

Re: Disconnecting VPN breaks DNS

Post by EdgarNo » Tue Jan 22, 2019 11:52 am

What VPN provider are you using? Has it been updated recently? Might be a bug in some recent fix and a question for their customer support. The DNS can be cashed in browser too, try turning different browser on after turning VPN off and check if the problem still there.

zebbeman
Level 1
Level 1
Posts: 6
Joined: Wed Oct 17, 2018 7:35 am

Re: Disconnecting VPN breaks DNS

Post by zebbeman » Wed Jan 23, 2019 7:10 am

It is a private PPTP and it works with mint 17.3 (and a bunch of other client computers) but not in mint 19.0/19.1.

It is not a browser issue, since I cannot ping/access fqdn, unless locally configured, after disconnecting the PPTP VPN client.

I can disconnect from an OpenVPN connection so I have this issue with PPTP only.

GamesBond
Level 1
Level 1
Posts: 10
Joined: Sun Dec 15, 2013 4:22 am

Re: Disconnecting VPN breaks DNS

Post by GamesBond » Mon Jul 22, 2019 2:18 pm

Having the same issue when I use PPTP but also when using L2TP over IPSEC, somehow Mint doesn't restore / reload the orignal settings for DNS. Indeed disabling WiFi and re-enabling is the quick fix but it's a little annoying bug. Bug confirmed on 5 different LM 19 / 19.1 machines.

Post Reply

Return to “Other networking topics”