DNS stops working when disconnecting PPTP VPN on desktop

Bug #1797415 reported by Will Cooke on 2018-10-11
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Undecided
Unassigned

Bug Description

On Cosmic I was testing some VPN setups. I created a PPTP VPN connection to my server.
Everything connected and worked as it should.

When I disconnect the VPN, DNS resolution stops working.

Looking at "systemd-resolve --status" shows that the correct DNS server is listed for the interface when the connection is torn down, and I can ping it. Doing a nslookup setting the server to the IP address shown in --status shows that DNS resolution is working correctly.

resolv.conf says nameserver 127.0.0.53

Restart resolved makes things work again.
(Also, restarting Network Manager makes it work again.)

Trying to ping a hostname from the cli when in the broken state yields zero output from resolved logs when in debug mode. Almost like it's not even hitting resolved, so this bug could very well be somewhere else.

I've checked, and I can ping 127.0.0.1 and the default routes look OK, although there is a route to the VPN server left over.

I'm all out of ideas. Any ideas?

Will Cooke (willcooke) wrote :
Will Cooke (willcooke) wrote :
tags: added: rls-cc-incoming
Will Cooke (willcooke) wrote :

Yeah, I think so. Thanks.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in systemd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers