-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
DNS leak when nordlynx is disconnected #101
Comments
So this issue bugged me as I don't want to leak my IP over DNS... I updated part of my docker-compose.yml for the affected service (not included in the config above) and it seems to at least fix the issue for leaking the IP on start - idk about a leak on connection drop tho:
The last part makes the other container(s) wait on start until the healthcheck of "nordvpn" reports healthy Still I think this can be addressed elsewhere on nordlynx container start |
How did you get the service running? When I add the code below to my containers, I get the error "no such service: nordvpn"
Tried your stack example, but no luck. |
You just need to make sure the compose version is "3" and that your NordVPN service is called "nordvpn" as in the first comment on that issue - the vpn and other containers are all on the same compose file here. Don't add that dependency to the NordVPN service of course. |
Thanks, going to look into it. |
@Smiggel condition inside depends_on is not specified in compose v3, only in v2. |
Sorry, for me it started this way and containers are waiting. Downgrading to v2.4 should do then. |
Tried it again. But I still have no service called nordvpn. It's not made during setup I guess. Also see errors in the log:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
DNS is leaking when the container starts, can't say if it's the same when the connection drops
Same behavior as mentioned in bubuntux/nordvpn#361
docker-compose was put together from different suggestions on the Wiki
Steps to reproduce
To Reproduce using docker-compose
docker-compose.yml:
I don't think the variables are important for troubleshooting, just set whichever fits your setup
Expected behavior
No DNS leak at all even if nordvpn connection is down.
The text was updated successfully, but these errors were encountered: