Howdy, I use Surfshark and every once in a while, my VPN loses its connection. I sent the info from messages to Surfshark but the info they sent back on how to set the nameserver info doesn't really work with Gentoo. I suspect they are used to systemd stuff. Anyway, I tried to follow in a more Gentoo way but it still didn't work. Then I googled, searched the Gentoo wiki and tried some of those things, still refuses to use the manually entered nameserver. I've tried resolv.conf, resolvconf.conf and resolv.conf-tun0.sv. I installed openresolv to see if that would help. Nope.
I might add, a lot of this stuff is written for people using systemd and I use openrc here. I found one that had I think the right info but neglected to name the file that needed to be edited, sounds like something I'd do really. lol This is what I got from Surfshark: > I would recommend changing the DNS addresses on your Linux device. You > can simply do that by following the steps below. > > First, you need to open the terminal with the CTRL + ALT + T > combination and type in the following commands: > sudo rm -r /etc/resolv.conf > sudo nano /etc/resolv.conf > > You will be asked for your root password after each command line, so > just type it in and press enter. When the text editor opens, you will > have to type in these lines: > nameserver xxx.xxx.172.57 > nameserver xxx.xxx.159.92 I edited the file they say with kwrite. Even after I restart openvpn, the IP they want is there but it doesn't use it according to the site they sent for me to check it with. It shows other IP addresses. I'm sure I'm missing something, likely something simple, but I can't figure out how to make it work. I don't know if it is because I'm using openrc or what. Anyone have a idea on how to make this work? Thanks. Dale :-) :-) P. S. I edited the IP address above. I'm not sure if those are public or not.