I have to post this on my phone
Logged out, logged in again, cannot get web pages. Can ping to ips, cannot resolve names with ping. Can resolve names with nslookup. Browsing doesn't work obviously but I can get to remote ips like repo locations.
???
REALLY seems like DNS but DNS is working with nslookup and I can change the nameserver in etc/resolv.conf and see nslookup using different nameserver but still no dice when using ping/browser
Any ideas??
Ok figured out the origin,
I reconnected protonvpn and we are back in business. What is going on here? Why is my DNS being blocked when protonvpn is off? This is after multiple restarts.
I can reliably reproduce this issue if I logout without disconnecting protonvpn.
Really curious to find out the cause for this!
Did you activate protonvpn killswitch ?
It's probably leaving around DNS entries that only works while on the VPN, and depending which program is making the DNS query, it may or may not fall back to a public server.
Are you using /etc/resolv.conf?
I don't use proton but I found with tailscale it's much more stable to use systemd-resolved because it doesn't overwrite resolv.conf. I don't know if this is the case with proton as I don't know how it treats different resolvers but I would look into it.