You are not logged in.

#1 2020-04-12 00:00:22

Ramb0
Member
Registered: 2019-01-04
Posts: 35

nordvpn auto-connect fails with dns issue (+info nordlynx)

Dear community,
I use nordvpn-bin (aur) and the auto-connect feature fails about half of the time on startup like so:

Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 Post https://zwyr157wwiu6eior.com/v1/users/tokens/renew: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 [Error] failed to renew token: ntp check failed
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 Get https://zwyr157wwiu6eior.com/v1/servers/countries: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 Get https://zwyr157wwiu6eior.com/v1/helpers/ips/insights: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 Get https://zwyr157wwiu6eior.com/v1/servers?limit=1073741824&filters[servers.status]=online&fields[servers.id]&fields[servers.name]&fields[servers.hostname]&fields[servers.station]&fields[server>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://cdn.zwyr157wwiu6eior.com/configs/dns/cybersec.json: dial tcp: lookup cdn.zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://cdn.zwyr157wwiu6eior.com/configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup cdn.zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://cdn.zwyr157wwiu6eior.com/configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup cdn.zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.icpsuawn1zy5amys.com//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.icpsuawn1zy5amys.com: Temporary failure in n>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.njtzzrvg0lwj3bsn.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.njtzzrvg0lwj3bsn.info: Temporary failure in>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.judua3rtinpst0s.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.judua3rtinpst0s.xyz: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.judua3rtinpst0s.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.judua3rtinpst0s.xyz: Temporary failure in nam>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.otmwumj6qw5em0zb.me//configs/dns/cybersec.json: dial tcp: lookup downloads.otmwumj6qw5em0zb.me: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.nordcdn.com//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.nordcdn.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.ns8469rfvth42.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.ns8469rfvth42.xyz: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.73dkt-vwrqs.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.73dkt-vwrqs.xyz: Temporary failure in name resolu>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.p99nxpivfscyverz.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.p99nxpivfscyverz.me: Temporary failure in nam>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.ltlxvxjjmvhn.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.ltlxvxjjmvhn.me: Temporary failure in name resolu>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.x9fnzrtl4x8pynsf.com//configs/dns/cybersec.json: dial tcp: lookup downloads.x9fnzrtl4x8pynsf.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.mzhlhrfr8z.info//configs/dns/cybersec.json: dial tcp: lookup downloads.mzhlhrfr8z.info: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.mzhlhrfr8z.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.mzhlhrfr8z.info: Temporary failure in name resolu>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.x9fnzrtl4x8pynsf.com//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.x9fnzrtl4x8pynsf.com: Temporary failure in n>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.se3v5tjfff3aet.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.se3v5tjfff3aet.me: Temporary failure in name re>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.se3v5tjfff3aet.me//configs/dns/cybersec.json: dial tcp: lookup downloads.se3v5tjfff3aet.me: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.ns8469rfvth42.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.ns8469rfvth42.xyz: Temporary failure in name re>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.nordcdn.com//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.nordcdn.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.njtzzrvg0lwj3bsn.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.njtzzrvg0lwj3bsn.info: Temporary failure in nam>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.73dkt-vwrqs.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.73dkt-vwrqs.xyz: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.ltlxvxjjmvhn.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.ltlxvxjjmvhn.me: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.judua3rtinpst0s.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.judua3rtinpst0s.xyz: Temporary failure in name re>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.tptn0rhbtj.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.tptn0rhbtj.info: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.p99nxpivfscyverz.me//configs/dns/cybersec.json: dial tcp: lookup downloads.p99nxpivfscyverz.me: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.x9fnzrtl4x8pynsf.com//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.x9fnzrtl4x8pynsf.com: Temporary failure in name >
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.njtzzrvg0lwj3bsn.info//configs/dns/cybersec.json: dial tcp: lookup downloads.njtzzrvg0lwj3bsn.info: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.ltlxvxjjmvhn.me//configs/dns/cybersec.json: dial tcp: lookup downloads.ltlxvxjjmvhn.me: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.otmwumj6qw5em0zb.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.otmwumj6qw5em0zb.me: Temporary failure in name re>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.73dkt-vwrqs.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.73dkt-vwrqs.xyz: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.otmwumj6qw5em0zb.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.otmwumj6qw5em0zb.me: Temporary failure in nam>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.nordcdn.com//configs/dns/cybersec.json: dial tcp: lookup downloads.nordcdn.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.ns8469rfvth42.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.ns8469rfvth42.xyz: Temporary failure in name resolu>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.mxo4bkqvdityebzvp.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.mxo4bkqvdityebzvp.xyz: Temporary failure in nam>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.mxo4bkqvdityebzvp.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.mxo4bkqvdityebzvp.xyz: Temporary failure in>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.mxo4bkqvdityebzvp.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.mxo4bkqvdityebzvp.xyz: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.wutlk3t9mybdz.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.wutlk3t9mybdz.info: Temporary failure in name reso>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.wutlk3t9mybdz.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.wutlk3t9mybdz.info: Temporary failure in name >
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.wutlk3t9mybdz.info//configs/dns/cybersec.json: dial tcp: lookup downloads.wutlk3t9mybdz.info: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.p99nxpivfscyverz.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.p99nxpivfscyverz.me: Temporary failure in name re>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.mzhlhrfr8z.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.mzhlhrfr8z.info: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.se3v5tjfff3aet.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.se3v5tjfff3aet.me: Temporary failure in name resolu>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.icpsuawn1zy5amys.com//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.icpsuawn1zy5amys.com: Temporary failure in name >
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.tptn0rhbtj.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.tptn0rhbtj.info: Temporary failure in name resolu>
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.icpsuawn1zy5amys.com//configs/dns/cybersec.json: dial tcp: lookup downloads.icpsuawn1zy5amys.com: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 error on making client request: Head https://downloads.tptn0rhbtj.info//configs/dns/cybersec.json: dial tcp: lookup downloads.tptn0rhbtj.info: Temporary failure in name resolution
Apr 12 08:49:45 delphine nordvpnd[785]: 2020/04/12 08:49:45 Post https://zwyr157wwiu6eior.com/v1/users/tokens/renew: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution

Here is the content of /usr/lib/systemd/system/nordvpnd.service :

[Unit]
Description=NordVPN Daemon
Requires=nordvpnd.socket
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/sbin/nordvpnd
NonBlocking=true
KillMode=process
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target

Note that I have already added "Wants=network-online.target" otherwise it would never connect automatically on startup.

Should it depend on another service?
Many thanks,

Last edited by Ramb0 (2020-04-17 22:43:13)

Offline

#2 2020-04-12 00:16:52

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Does whatever network service provides the implementation of network-online.target your system uses guarantee DNS resolution will be available with that target?
See https://www.freedesktop.org/wiki/Softwa … orkTarget/

Offline

#3 2020-04-12 02:29:58

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

are you using nordlynx or openvpn?

also what is the status

sudo systemctl status nordvpnd

Offline

#4 2020-04-12 02:55:31

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

I m using NetworkManager
The DNS addresses are set to the NordVPN ones:

$ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 103.86.96.100
nameserver 103.86.99.100

I'm using OpenVpn since NordLynx does not work at all. Here are the NordVPN settings:

$ nordvpn settings
Technology: OpenVPN
Protocol: UDP
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: enabled
Auto-connect: enabled
DNS: disabled

I just realised that the nordvpn settings have DNS disabled although /etc/resolv.conf has nordvpn dns addresses... Let me try and fix that!

Offline

#5 2020-04-12 03:00:25

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

It seems to have worked.
Thanks @SurlyCycler and @loqs for the brainstorming. smile
I'll keep testing during the next few days before marking it as solved.

Offline

#6 2020-04-12 14:16:27

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

For wireguard you need to install

wireguard-tools
wireguard-arch >> if you have linux kernal and/or
wireguard-lts >> if you have the lts kernal installed.

there is no configuration needed, just the packages installed. (your kernal will reinstall after this)

-----------------------

Sometimes i find it helpful to disable the nordvpn.service and remove the nordvpn-bin along with the ~/.config/nordvpn file. then reboot.

you will of course have to reinstall nordvpn and re enable nordvpnd.

Last edited by SurlyCycler (2020-04-12 14:21:40)

Offline

#7 2020-04-12 14:29:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

SurlyCycler wrote:

For wireguard you need to install
...
wireguard-arch >> if you have linux kernal and/or
...

Nope. Wireguard is in the mainline kernel since 5.6.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2020-04-12 15:06:09

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

I see it was changed. Thanks for the info

Offline

#9 2020-04-12 23:17:26

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

SurlyCycler wrote:

For wireguard you need to install

Thanks for the info. I did not know about wireguard. Is it automatically taking over OpenVPN? (the wiki page does not specify)

Offline

#10 2020-04-12 23:28:41

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

They use both.

Nordvpn now uses wireguard as well. They just call it NordLynx. It is relatively new for them. I thought i would mention it because it seems a little quicker. Then you have two ways of connecting to nordvpn. If nordlynx isnt working for some reason then use the openvpn

you can switch between the the two by using

$nordvpn set technology nordlynx (or openvpn)

You can check if it is working using

$ nord status or
$ sudo wg

Last edited by SurlyCycler (2020-04-12 23:30:24)

Offline

#11 2020-04-13 01:22:39

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

After upgrading the kernel to 5.6 wireguard was available. NordLynx works when I manually connect from the command line but does not auto-connect after reboot due to "Temporary failure in name resolution" (once again).

I noticed that it overwrites /etc/resolv.conf after reboot with default 192.168.1.1 . It did not do that with OpenVPN.
When connecting manually from the command line then /etc/resolv.conf populates itself correctly. After reboot it once again sets itself back to default 192.168.1.1

Example just after reboot:

$ nordvpn status
Status: Disconnected

$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1

$ nordvpn settings
Technology: NordLynx
Kill Switch: disabled
CyberSec: disabled
Notify: enabled
Auto-connect: enabled
DNS: 103.86.96.100, 103.86.99.100

$ nordvpn c Australia Melbourne
Connecting to Australia #501 (au501.nordvpn.com)
You are connected to Australia #501 (au501.nordvpn.com)!

$ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 103.86.96.100
nameserver 103.86.99.100

Offline

#12 2020-04-13 03:16:41

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

I think the 5.6 kernal is giving everyone grief at the moment.... just be patient and it will be up again. Also keep an eye out here for news.

https://aur.archlinux.org/packages/nordvpn-bin/

In the meantime i clicked on openvpn and it seems to be working.

Offline

#13 2020-04-13 06:11:04

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

It's definitely working with OpenVPN so I'm marking it as solved.

Thanks for the help and new information about nordlynx and wireguard! smile

Offline

#14 2020-04-13 06:17:43

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

huh? I can't edit the title to mark it solved... neutral

Offline

#15 2020-04-13 10:41:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Your title might be too long, shorten it up a bit.

Offline

#16 2020-04-15 23:37:51

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

The problem came back after a couple of days. The /etc/resolv.conf file did not contain the NordVPN dns servers as NetworkManager seem to overwrite it sometimes after reboot with the default setting (192.168.1.1)
This line fixes it:

nmcli connection modify <connection_name> ipv4.dns "103.86.96.100 103.86.99.100"

with those addresses being the NordVPN dns servers

Offline

#17 2020-04-16 00:51:34

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Simply put, your computer will set up what it needs to do automatically to connect to the internet. This 192.168.1.1 is your router address. And you do want your computer to talk to the router. Networkmanager will place that info on your resolv.conf file. So in fact, this ip shows that NetworkManager it is working correctly.

As well nordvpn knows what it needs to do. When you do "sudo wg" with wireguard as an example, it is a simple test to see if the tun is established. Same if you do a " ip addr show". you will see a tunnel has been established. It will say tun or nordlynx depending on which mode you are using.

So networkmanager establishes a link to the router and nordvpn will create a tunnel through the router directly to the server...

the 103.86.96.100 and 103.86.99.100 i think you can use in obfuscate mode? maybe. You dont need it. However, inside the app nordvpn-bin you will find that it has one that starts with 99.xx.xx.xxx that it uses to create a tunnel to nord servers, within the app. This is why you dont need it. It kind of compounds the problem when you mess with dns settings (i think).

Sometimes you see symptoms that look like a dns problem. More than likely they can be linked to the killswitch or cybersec problems. These go away with an update for nordvpn-bin.
--------------------------------------------------------------------
I would let the networkmanager and nord do its job. So how can it be fixed? Lets do this.

I would remove imutibility using this

sudo chattr -i /etc/resolv.conf 

(note chattr +i will make it unwriteable) you want it writeable by whatever needs to use it. So, use -i in this case.

You can then use your favourite text editor or nano

 
sudo nano /etc/resolv.conf     - remove all the contents leaving a blank file
control o      -to save
control x      -to exit

Then reboot your computer. When it starts up again, resolv.conf will populate correctly and everything should work.

Last edited by SurlyCycler (2020-04-16 01:26:36)

Offline

#18 2020-04-16 01:27:10

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Following your advice I disabled the NordVPN dns option. On startup I cat'ed the /etc/resolv.conf file repeatedly to see how it was evolving through the automatic boot-up sequence:

(At 11:17:23 no connection established, near empty file)
$ cat /etc/resolv.conf                                                                                                                                                                                                                             
# Generated by NetworkManager

(At 11:17:29 connection established with NetworkManager)
$ cat /etc/resolv.conf                                                                                                                                                                                                                                 
# Generated by NetworkManager
nameserver 192.168.1.1

(At 11:17:35 NordVPN establishes connection - auto-connect is on)
$ cat /etc/resolv.conf                                                                                                                                                                                                                                 
# Generated by resolvconf
nameserver 103.86.96.100
nameserver 103.86.99.100

$ nordvpn settings                                                                                                                                                                                                                                    
Technology: OpenVPN
Protocol: UDP
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: enabled
Auto-connect: enabled
DNS: disabled

Worked fine.

So as you can see it still connects automatically to the OpenVPN dns servers automatically but without me specifying them.

Offline

#19 2020-04-16 02:52:55

dakota
Member
Registered: 2016-05-20
Posts: 280

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Ramb0 wrote:

Following your advice I disabled the NordVPN dns option. On startup I cat'ed the /etc/resolv.conf file repeatedly to see how it was evolving through the automatic boot-up sequence:

(At 11:17:23 no connection established, near empty file)
$ cat /etc/resolv.conf                                                                                                                                                                                                                             
# Generated by NetworkManager

(At 11:17:29 connection established with NetworkManager)
$ cat /etc/resolv.conf                                                                                                                                                                                                                                 
# Generated by NetworkManager
nameserver 192.168.1.1

(At 11:17:35 NordVPN establishes connection - auto-connect is on)
$ cat /etc/resolv.conf                                                                                                                                                                                                                                 
# Generated by resolvconf
nameserver 103.86.96.100
nameserver 103.86.99.100

$ nordvpn settings                                                                                                                                                                                                                                    
Technology: OpenVPN
Protocol: UDP
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: enabled
Auto-connect: enabled
DNS: disabled

Worked fine.

So as you can see it still connects automatically to the OpenVPN dns servers automatically but without me specifying them.

I'm confused. hmm

Aren't those the same settings you listed in post #4 when your connection was failing 50% of the time? What did you change?


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#20 2020-04-16 06:08:54

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Oh you re right! :-|
Maybe it s going to start failing soon... argh let's be patient and see. Unless you have a suggestion smile

Offline

#21 2020-04-16 13:55:30

dakota
Member
Registered: 2016-05-20
Posts: 280

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

Ramb0 wrote:

Unless you have a suggestion smile

Sadly, no. I am a beginner and I read these forums hoping that something will stick in my little brain. wink

But it looks like your configuration might be correct and you are fighting a "network-online" problem... even though you have set up your service file. I'm wondering if those options really mean what you (and I) think they mean.

I would read (and re-read) the link that logs posted in reply #2, above.

logs wrote:

Does whatever network service provides the implementation of network-online.target your system uses guarantee DNS resolution will be available with that target?
See https://www.freedesktop.org/wiki/Softwa … orkTarget/

Cheers,


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#22 2020-04-16 22:39:41

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

There was one change between now and the post #4 though: I did upgrade to kernel 5.6 ...

Offline

#23 2020-04-17 22:42:55

Ramb0
Member
Registered: 2019-01-04
Posts: 35

Re: nordvpn auto-connect fails with dns issue (+info nordlynx)

And it started failing again after reboot... :-(

$ sudo systemctl status nordvpnd.service
● nordvpnd.service - NordVPN Daemon
     Loaded: loaded (/usr/lib/systemd/system/nordvpnd.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2020-04-18 08:32:47 AEST; 23s ago
TriggeredBy: ● nordvpnd.socket
   Main PID: 786 (nordvpnd)
      Tasks: 21 (limit: 19081)
     Memory: 42.5M
     CGroup: /system.slice/nordvpnd.service
             └─786 /usr/sbin/nordvpnd

Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mzhlhrfr8z>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ltlxvxjjmv>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.se3v5tjfff>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.njtzzrvg0l>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.wutlk3t9my>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.wutlk3t9my>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mxo4bkqvdi>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ns8469rfvt>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.judua3rtin>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 Post https://zwyr157wwiu6eior.com/v1/users/tokens/renew: dial tcp>
$ nordvpn settings 
Technology: OpenVPN
Protocol: UDP
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: enabled
Auto-connect: enabled
DNS: disabled
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1

Full log from journalctl:

Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 Post https://zwyr157wwiu6eior.com/v1/users/tokens/renew: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 [Error] failed to renew token: ntp check failed
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 Get https://zwyr157wwiu6eior.com/v1/servers/countries: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 Get https://zwyr157wwiu6eior.com/v1/helpers/ips/insights: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 Get https://zwyr157wwiu6eior.com/v1/servers?limit=1073741824&filters[servers.status]=online&fields[servers.id]&fields[servers.name]&fields[servers.hostname]&fields[servers.station]&fields[server>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.otmwumj6qw5em0zb.me//configs/dns/cybersec.json: dial tcp: lookup downloads.otmwumj6qw5em0zb.me: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.wutlk3t9mybdz.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.wutlk3t9mybdz.info: Temporary failure in name >
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://cdn.zwyr157wwiu6eior.com/configs/dns/cybersec.json: dial tcp: lookup cdn.zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ltlxvxjjmvhn.me//configs/dns/cybersec.json: dial tcp: lookup downloads.ltlxvxjjmvhn.me: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.judua3rtinpst0s.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.judua3rtinpst0s.xyz: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ns8469rfvth42.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.ns8469rfvth42.xyz: Temporary failure in name re>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mxo4bkqvdityebzvp.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.mxo4bkqvdityebzvp.xyz: Temporary failure in>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ns8469rfvth42.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.ns8469rfvth42.xyz: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://cdn.zwyr157wwiu6eior.com/configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup cdn.zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.p99nxpivfscyverz.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.p99nxpivfscyverz.me: Temporary failure in nam>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.otmwumj6qw5em0zb.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.otmwumj6qw5em0zb.me: Temporary failure in name re>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.otmwumj6qw5em0zb.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.otmwumj6qw5em0zb.me: Temporary failure in nam>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.judua3rtinpst0s.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.judua3rtinpst0s.xyz: Temporary failure in nam>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.nordcdn.com//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.nordcdn.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.x9fnzrtl4x8pynsf.com//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.x9fnzrtl4x8pynsf.com: Temporary failure in n>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.nordcdn.com//configs/dns/cybersec.json: dial tcp: lookup downloads.nordcdn.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.nordcdn.com//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.nordcdn.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.se3v5tjfff3aet.me//configs/dns/cybersec.json: dial tcp: lookup downloads.se3v5tjfff3aet.me: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.se3v5tjfff3aet.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.se3v5tjfff3aet.me: Temporary failure in name re>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.icpsuawn1zy5amys.com//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.icpsuawn1zy5amys.com: Temporary failure in name >
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.tptn0rhbtj.info//configs/dns/cybersec.json: dial tcp: lookup downloads.tptn0rhbtj.info: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mzhlhrfr8z.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.mzhlhrfr8z.info: Temporary failure in name resolu>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.tptn0rhbtj.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.tptn0rhbtj.info: Temporary failure in name resolu>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ltlxvxjjmvhn.me//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.ltlxvxjjmvhn.me: Temporary failure in name resolu>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.njtzzrvg0lwj3bsn.info//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.njtzzrvg0lwj3bsn.info: Temporary failure in>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.icpsuawn1zy5amys.com//configs/dns/cybersec.json: dial tcp: lookup downloads.icpsuawn1zy5amys.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.icpsuawn1zy5amys.com//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.icpsuawn1zy5amys.com: Temporary failure in n>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.njtzzrvg0lwj3bsn.info//configs/dns/cybersec.json: dial tcp: lookup downloads.njtzzrvg0lwj3bsn.info: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mzhlhrfr8z.info//configs/dns/cybersec.json: dial tcp: lookup downloads.mzhlhrfr8z.info: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.x9fnzrtl4x8pynsf.com//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.x9fnzrtl4x8pynsf.com: Temporary failure in name >
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.x9fnzrtl4x8pynsf.com//configs/dns/cybersec.json: dial tcp: lookup downloads.x9fnzrtl4x8pynsf.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.73dkt-vwrqs.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.73dkt-vwrqs.xyz: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.73dkt-vwrqs.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.73dkt-vwrqs.xyz: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.73dkt-vwrqs.xyz//configs/templates/ovpn_xor/1.0/template.xslt: dial tcp: lookup downloads.73dkt-vwrqs.xyz: Temporary failure in name resolu>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://cdn.zwyr157wwiu6eior.com/configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup cdn.zwyr157wwiu6eior.com: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mxo4bkqvdityebzvp.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.mxo4bkqvdityebzvp.xyz: Temporary failure in nam>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.p99nxpivfscyverz.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.p99nxpivfscyverz.me: Temporary failure in name re>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.p99nxpivfscyverz.me//configs/dns/cybersec.json: dial tcp: lookup downloads.p99nxpivfscyverz.me: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.tptn0rhbtj.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.tptn0rhbtj.info: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mzhlhrfr8z.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.mzhlhrfr8z.info: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ltlxvxjjmvhn.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.ltlxvxjjmvhn.me: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.se3v5tjfff3aet.me//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.se3v5tjfff3aet.me: Temporary failure in name resolu>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.njtzzrvg0lwj3bsn.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.njtzzrvg0lwj3bsn.info: Temporary failure in nam>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.wutlk3t9mybdz.info//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.wutlk3t9mybdz.info: Temporary failure in name reso>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.wutlk3t9mybdz.info//configs/dns/cybersec.json: dial tcp: lookup downloads.wutlk3t9mybdz.info: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.mxo4bkqvdityebzvp.xyz//configs/dns/cybersec.json: dial tcp: lookup downloads.mxo4bkqvdityebzvp.xyz: Temporary failure in name resolution
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.ns8469rfvth42.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.ns8469rfvth42.xyz: Temporary failure in name resolu>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 error on making client request: Head https://downloads.judua3rtinpst0s.xyz//configs/templates/ovpn/1.0/template.xslt: dial tcp: lookup downloads.judua3rtinpst0s.xyz: Temporary failure in name re>
Apr 18 08:32:47 delphine nordvpnd[786]: 2020/04/18 08:32:47 Post https://zwyr157wwiu6eior.com/v1/users/tokens/renew: dial tcp: lookup zwyr157wwiu6eior.com: Temporary failure in name resolution

As you can see /etc/resolv.conf did not populate itself with the dns servers from NordVPN automatically.

Offline

Board footer

Powered by FluxBB