Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NordVPN 3.18.4 fails to resolve google.com or any domain really #592

Open
mrpainte opened this issue Sep 1, 2024 · 8 comments
Open

NordVPN 3.18.4 fails to resolve google.com or any domain really #592

mrpainte opened this issue Sep 1, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@mrpainte
Copy link

mrpainte commented Sep 1, 2024

This is running on a Raspberry Pi 4 8GB

pi@rp1:~ $ nordvpn status
Status: Connected
Server: Mexico #
Hostname: mx.nordvpn.com
IP:
Country: Mexico
City: Mexico
Current technology: NORDLYNX
Current protocol: UDP
Transfer: 2.99 GiB received, 1.52 GiB sent
Uptime: 55 minutes 10 seconds

pi@rp1:~ $ nordvpn settings
Technology: NORDLYNX
Firewall: enabled
Firewall Mark: 0xe1f1
Routing: enabled
Analytics: enabled
Kill Switch: disabled
Threat Protection Lite: disabled
Notify: enabled
Tray: enabled
Auto-connect: enabled
IPv6: disabled
Meshnet: disabled
DNS: 1.1.1.1
LAN Discovery: disabled
Virtual Location: enabled
Allowlisted ports:
22 (UDP|TCP)
8081 (UDP|TCP)
Allowlisted subnets:
192.168.0.0/16

pi@rp1:~ $ nordvpn -v
NordVPN Version 3.18.4

these are my settings above for nordvpn. the next section is for showing connection to nord, curling google, disconnecting from nord and attempting to curl again.

pi@rp1:~ $ nordvpn connect mexico
Connecting to Mexico #106 (mx106.nordvpn.com)
You are connected to Mexico #106 (mx106.nordvpn.com)!
pi@rp1:~ $ curl google.com
curl: (6) Could not resolve host: google.com
pi@rp1:~ $ nordvpn d
You are disconnected from NordVPN.
How would you rate your connection quality on a scale from 1 (poor) to 5 (excellent)? Type 'nordvpn rate [1-5]'.
-pi@rp1:~ $ curl google.com
success (was html and cant figure out how to properly use code blocks in github )

Reference, i was recently using NordVPN 3.17.0 and did not have these issues. might have to go back to that version to be able to use nordvpn fully. Currently using 3.18.4 which is the latest version for linux.

@mrpainte
Copy link
Author

mrpainte commented Sep 1, 2024

even with disabling DNS to use nordvpn dns i cant get to google or any website via domains.

@keliramu
Copy link
Contributor

keliramu commented Sep 3, 2024

Hi, thank you for a patience, could you give us latest logs from the app? At the time when you see the problem is taking place. We tried to reproduce the issue on Raspberry Pi 4 which we have - but unfortunately not able to reproduce the situation when VPN connected and DNS not working (i.e. can not resolve domain name). Logs would give us more information what is happening.

@mrpainte
Copy link
Author

mrpainte commented Sep 3, 2024

can you give me direction on how to obtain the logs? checking /var/log/nordvpn/daemon.log does not seem to be the true log file

@mrpainte
Copy link
Author

mrpainte commented Sep 3, 2024

I found a command that might work and have sanitized the result from the last yearish of data.

journalctl -u nordvpnd > nordvpn.logs

however i am unsure if this is the proper logs you are looking for. Nor if i should drop the file here on github due to possible keys?

@mrpainte
Copy link
Author

mrpainte commented Sep 3, 2024

Sep 03 09:05:24 rp1 nordvpnd[116106]: 2024/09/03 09:05:24 [NC] failed to connect: network Error : dial tcp: lookup nc-unit6-mqtt.nordvpn.com on 192.168.10.1:53: write udp 192.168.10.23:39774->192.168.10.1:53: write: operation not permitted

i do see this log however (last line).. with nordvpn enabled, it seems DNS is trying to access my routers DNS instead of nordvpn's DNS? i find that odd

@keliramu
Copy link
Contributor

keliramu commented Sep 3, 2024

Ok, I got it, problem is that app is trying to use your router as a DNS server.

@mrpainte
Copy link
Author

mrpainte commented Sep 3, 2024

yeah. which i know works since when im off the VPN it works but when on the VPN it fails. i did install 3.18.2 and it is working but 3.18.4 is not

@mariusSincovici mariusSincovici added the bug Something isn't working label Sep 11, 2024
@keliramu keliramu self-assigned this Sep 11, 2024
@MatthewGreen
Copy link

@keliramu I'm seeing this issue in 3.19.1 as well. Times are in EDT. 192.168.1.57 is my local adguard box, IPv4 of the device using nordvpn is 192.168.1.49. Running Ubuntu 22.04.

Settings

Technology: NORDLYNX
Firewall: enabled
Firewall Mark: 0xe1f1
Routing: enabled
Analytics: disabled
Kill Switch: enabled
Threat Protection Lite: disabled
Notify: disabled
Tray: disabled
Auto-connect: enabled
IPv6: disabled
Meshnet: disabled
DNS: disabled
LAN Discovery: disabled
Virtual Location: enabled
Post-quantum VPN: disabled
Allowlisted subnets:
        192.168.1.1/24
        192.168.4.1/24

Logs

Nov 27 10:25:33 HOSTNAME nordvpnd[112]: Error: dial tcp: lookup downloads.nordcdn.com on 192.168.1.57:53: write udp 192.168.1.49:33124->192.168.1.57:53: write: operation not permitted
Nov 27 10:42:58 HOSTNAME nordvpnd[112]: 2024/11/27 10:42:58 [NC] failed to connect:  network Error : dial tcp: lookup nc-unit5-mqtt.nordvpn.com on 192.168.1.57:53: write udp 192.168.1.49:42711->192.168.1.57:53: write: operation not permitted
Nov 27 10:47:27 HOSTNAME nordvpnd[112]: 2024/11/27 10:47:27 [NC] failed to connect:  network Error : dial tcp: lookup nc-unit5-mqtt.nordvpn.com on 192.168.1.57:53: write udp 192.168.1.49:37748->192.168.1.57:53: write: operation not permitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants