-
Notifications
You must be signed in to change notification settings - Fork 585
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
Unable to reconnect with message "RESOLVE: Cannot resolve host address:" #13
Comments
Hmm, I haven't run into the issue that you're seeing. I can rule out the firewall rules blocking DNS as the source however. They allow access to:
|
Actually thinking back, I'm pretty sure I used to get that error before I started using the Google DNS servers Hope this helps. |
I'll try to turn off the Google DNS. I'll also attempt to |
I didn't get a chance to log
vpn.conf
I'll ask them about DNS servers that I can use from them. |
My provider ask me to try https://github.com/masterkorp/openvpn-update-resolv-conf That script is already installed on Debian so I just added the following to my vpn.conf. I'll let you know if it fixes the issue for me.
|
Thanks for the information, I'll add a flag to the startup script to use the VPN providers DNS with the |
I've got the same issue, I added
in client.conf, but it didn't fixed it. Now I run a crontab to restart openvpn client every 8 hours, it works, but the issue can happen after few minutes or after one day... Any idea ? |
@FAWTS @dmp1ce I've just made some changes yesterday and another today, that I think will now fix the reconnect issue (fingers crossed).
I think between the two of them, they should fix this issue. So please pull a fresh image and let me know if you still have any problems. Thanks. |
I see the "-d" flag, how do I use this with a docker-compose file? Is specifying the dns ip's enough?
|
The |
I'm not sure if this is an issue with this project or my VPN provider. The connection to my VPN provider works well for a day or two and then it will get disconnected and try to reconnect. The reconnection never works. Here is the log from my most recent attempt and my docker-compose configuration.
Should this project be able to automatically reconnect to the VPN provider if the openvpn configuration is setup to do so? Will the strict firewall rules block reconnection attempts?
docker-compose.yml
openvpn log
The text was updated successfully, but these errors were encountered: