this post was submitted on 30 Sep 2023
25 points (96.3% liked)

Linux

47993 readers
1194 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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??

top 4 comments
sorted by: hot top controversial new old
[–] luthis@lemmy.nz 8 points 1 year ago* (last edited 1 year ago) (2 children)

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!

[–] luc891@lemmy.world 18 points 1 year ago

Did you activate protonvpn killswitch ?

[–] Max_P@lemmy.max-p.me 9 points 1 year ago

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.

[–] dartanjinn@lemm.ee 2 points 1 year ago

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.