I have wasted the last 2.5 hours trying to see where I went wrong with my configuration and I just can’t.
For the record, I am running OpenSuse Tumbleweed with Gnome, latest update for everything. Up to now I have been using AdGuard as my DNS resolver, but am now trying to switch to Mullvad but at this point I think I probably don’t want to anymore. Reason being, I just can not get it to work for the life of me.
My system has NetworkManager installed so I go there, select my connected Wifi, and enter Mullvad’s DNS address 194.242.2.4 in thr IPv4 section, then I go to check to see if it shows I am using their DNS and it Firefox AND Vivaldi give no internet connection errors. I go back to Adguard DNS and my internet is back working again. I go back to Mullvad, you guessed it, no internet once again. I even tried Cloudflare and Quad 9’s DNS addresses and both of those worked as well but Mullvad’s just does not want to work and I am going insane over it.
And no I can not edit resolv.conf through the terminal because NetworkManager will override it and no I don’t want to delete NetworkManager. Any feedback would be appreciated.
You can edit resolv.conf and
# chattr +i resolv.conf
makes the file immutable.
It’s a kludge, and I’m not saying that it solves your DNS issue, but NM can’t override the file.
How would I undo this process? I am considering testing this out but how would I make it overridable again just in case?
chattr -i
What a surprise.
Another option is to remove it and symlink it to a static version of your choosing. I believe NM won’t replace a symlink. You can just remove the symlink when you’re done and it should go back to normal…I think.