DNS resolution fails after disconnecting from VPN

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
verge

DNS resolution fails after disconnecting from VPN

Post by verge »

Hello. I'm running LM 19. My work uses a PPTP VPN. I have a vpn connection setup through the network icon thingy on my taskbar. My networking works fine before connecting to the VPN, and even during the VPN session. When I disconnect from the VPN though, my DNS stops working. For example, after disconnecting I can ping 8.8.8.8, but not ping google.com. To solve the issue I've been using dhclient to get a new IP address from my home router, and then DNS starts working fine once again.

I'm not sure which logs I should look at or how to troubleshoot this issue. Any ideas/thoughts would be appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: DNS resolution fails after disconnecting from VPN

Post by phd21 »

HI verge,

Not sure if this will help or not, but do you have the "resolvconf" and "dsnmasq" installed? Restart your computer afterward.

Code: Select all

sudo apt install resolvconf dsnmasq easy-rsa

Hope this helps ...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
User avatar
Gruppo Sportivo
Level 4
Level 4
Posts: 278
Joined: Sun May 28, 2017 4:14 am
Location: 🇳🇱

Re: DNS resolution fails after disconnecting from VPN

Post by Gruppo Sportivo »

verge wrote: Thu Oct 11, 2018 6:22 pm When I disconnect from the VPN though, my DNS stops working.
Is perhaps the Kill Switch and DNS protection enabled ??.
cerien

Re: DNS resolution fails after disconnecting from VPN

Post by cerien »

I see the same issue, and it was not happening on previous MINT version - I usually solve it by issuing dhclient <interface> but it is not very convenient
Locked

Return to “Networking”