The issue is caused by the NordVPN Kill Switch.
Restarting nordvpnd resolves the issue.
Thanks, this helped me a lot. I just had this mentioned issue as well, but just now for the fitst time although I use NordVPN for quite some time.
Seems something did make NordVPN hickup? Restarting nordvpnd did help to make NordVPN not anymore interfereinv with /etc/resolv.conf when I am not connected to NordVPN.
]]>Restarting nordvpnd resolves the issue.
I wrote a systemd unit file to automate it all:
]]>This can be checked with
lsattr /etc/resolv.conf
If this is the case, you can make the file mutable with
chattr -i /etc/resolv.conf
]]>Nobody have an idea for solve this problem ?
# Generated by NetworkManager
search int.ionis-it.com
nameserver 163.5.42.40
nameserver 163.5.42.41
/etc/resolvconf.conf
------------------------------
name_servers=192.168.1.254
The resolv.conf I get when I disconect from NordVpn :
# Generated by NetworkManager
search int.ionis-it.com
nameserver 163.5.42.40
nameserver 163.5.42.41
The resolv.conf I think I sould get :
# Generated by NetworkManager
search lan
nameserver 192.168.1.254
The package build doesn't edit anything about previous network files :
# Maintainer: metiis <aur at metiis dot com>
# Maintainer: bubuntux
# Maintainer: Martoko <mbastholm at gmail dot com>
pkgname=nordvpn-bin
pkgver=3.0.0_4
pkgrel=1
pkgdesc="NordVPN CLI tool for Linux"
arch=('x86_64')
url="https://nordvpn.com/download/linux/"
license=('custom')
depends=('net-tools' 'libxslt' 'iptables' 'procps' 'iproute2')
provides=('nordvpn')
conflicts=('openvpn-nordvpn')
install=nordvpn-bin.install
source=("https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${pkgver//_/-}_amd64.deb")
sha256sums=('a4a9602a9ecc1b29eb4ef9667993bd68999f42fc1962588951845a797d31ecfa')
package() {
bsdtar -O -xf "nordvpn_${pkgver//_/-}_amd64.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
mv "${pkgdir}/usr/sbin/nordvpnsd" "${pkgdir}/usr/bin"
mv "${pkgdir}/usr/sbin/nordvpnud" "${pkgdir}/usr/bin"
rm -r "${pkgdir}/usr/sbin"
}
Look at whatever you installed and see what files were written/overwritten.
Moving to AUR Issues...
]]>I installed nordvpn on my archlinux and now, when i'm not connected to the vpn I can't resolve any dns
For example, when I'm not connected to vpn I can ping 8.8.8.8 but not google.com. But when I'm connected to nordvpn all is ok.
Thanks
]]>