You are not logged in.

#1 2021-11-07 05:48:25

RieTatsumaki
Member
Registered: 2021-08-08
Posts: 4

DNS Functions Corrupted? [Solved]

I've been using Nordvpn for months, and it has been very buggy since the Windows login change. Long story short, on the AUR version, locking up and requiring a sequential restart of NetworkManager and Nordvpnd was becoming a bi-daily occurrence, and switching off the VPN required hacky scripting that didn't always work (because I suspected, but could never figure out the exact root cause). Now finally, just an hour ago, it had permanently locked itself up (Restarting would not fix the issue). Being now a digital paperweight, I promptly removed it with pacman -Rns.

Perhaps I should not have used the n flag because it seems that something else was either removed or configured my Nordvpn, as my DNS issues now persisted, even after uninstalling Nord and fully restarting. I eventually tracked the issue to my /etc/resolv.conf.

What I found is that switching network managers (I have an extra one installed for debugging purposes), and what I noticed is that they both (NM and CM) change /etc/resolv.conf when switching to one another, resulting in further DNS issues.

My question is, isn't that the expected behavior? I would imagine that a default installation of Arch (just installed on a separate computer a few weeks ago) would include the default parameters that were set by an installation of Connman or NetworkManager, so I don't understand whether or not there are any other network-related system files that Nord could have broken on its way out. For now, I have set resolv.conf to 1.1.1.1 to fix the issue, but I am trying to fix this proactively, and fix any other files to avoid issues in the future. I am thinking that there is probably another file that the network managers look to in order to determine what parameters to set within /etc/resolv.conf, but I didn't see any mention of that in the wiki, either that, or there is a default nameserver provided by base Arch and the network managers simply append to the file (in which case I guess I have nothing to worry about). That's all I could think of.

Also, I guess I should add that I understand I can make the file immutable, but that's not the point of the question.

Last edited by RieTatsumaki (2021-11-07 10:41:56)

Offline

#2 2021-11-07 06:16:51

loqs
Member
Registered: 2014-03-06
Posts: 18,995

Re: DNS Functions Corrupted? [Solved]

Offline

#3 2021-11-07 10:43:04

RieTatsumaki
Member
Registered: 2021-08-08
Posts: 4

Re: DNS Functions Corrupted? [Solved]

Works! I did skim over it, but I guess I didn't see how it tied in at the time. I am still confused why I had to do that manually now, but I have never had to do it upon a fresh install. Thanks a bunch!

Offline

Board footer

Powered by FluxBB