Score:1

Ubuntu 23.04 resets to wrong dns server on startup

US flag

I've had this problem since updating to 23.04. When Ubuntu reboots it reboots to the DNS server of Proton VPN. I tried this solution: Internet connection only work when i use vpn! ubuntu 22.10 which works when I turn the wifi off and back on but upon rebooting Ubuntu changes the DNS server back to the one that Proton VPN uses. Does anyone know how to fix this problem? it also does not change the DNS server back to the one it should be using after stopping Proton VPN.

In the provided solution they say to change the DNS server in /etc/resolv.conf to 8.8.8.8 but as stated it only works before rebooting.

mpboden avatar
do flag
Don’t edit `/etc/resolv.conf`. By default it is a symlink to `/run/systemd/resolve/stub-resolv.conf`, which is the local caching stub resolver. It even states in the file that it is a dynamic file. Changes are not persistent through reboots. With ProtonVPN, their app has a setting called **Kill Switch** that defines when and how external connections are handled when VPN isn’t connected. Check that first.
Almost Aiming avatar
md
@mpboden How do I modify the Kill Switch setting?
mpboden avatar
do flag
In the ProtonVPN app, there is a button that allows you to change the **Kill Switch** setting. See the ProtonVPN [instructions](https://protonvpn.com/support/linux-vpn-setup/).
Score:1
US flag

I figured out with the help of the Proton team that disconnecting through the app makes the internet work correctly but disconnecting through Ubuntu breaks the internet connectivity.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.