Opened 9 years ago
Closed 11 months ago
#516 closed Bug / Defect (wontfix)
windows: ipconfig failing to execute during VPN connection
Reported by: | VisualCSharp | Owned by: | OpenVPN Inc. |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | OpenVPN Connect | Version: | |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | ipconfig dns |
Cc: |
Description
This issue was reported at http://community.openvpn.net/openvpn/ticket/399, but for some reason it was resolved as notabug. This is quite clearly a bug with the script that the OpenVPN client runs, no? I suspect that, because of this problem, I frequently see DNS resolution failures after connecting to the VPN for domains that are subdomains of the VPN connection's DNS suffix. For example, if my VPN's DNS suffix is corp.mycompany.com and I try to resolve myserver.corp.mycompany.com, the resolution will fail sometimes and succeed others. Reconnecting to the VPN oftentimes does not solve the problem, but it does seem to intermittently resolve itself.
Ideally, we should not be modifying configuration files (on every one of our Windows clients) ourselves to fix this problem. The OpenVPN client should be fixed such that it calls ipconfig.exe with elevated permissions.
Here is a sample of my log file. The error shown repeats itself during every connection attempt.
Fri Jan 23 12:34:21 2015 Start net commands...
Fri Jan 23 12:34:21 2015 C:\Windows\system32\net.exe stop dnscache
Fri Jan 23 12:34:26 2015 C:\Windows\system32\net.exe start dnscache
Fri Jan 23 12:34:26 2015 ERROR: Windows ipconfig command failed: returned error code 2
Fri Jan 23 12:34:26 2015 C:\Windows\system32\ipconfig.exe /flushdns
Fri Jan 23 12:34:26 2015 C:\Windows\system32\ipconfig.exe /registerdns
Fri Jan 23 12:34:29 2015 End net commands...
Change History (7)
comment:1 Changed 9 years ago by
comment:2 Changed 7 years ago by
Owner: | set to jamesyonan |
---|---|
Status: | new → assigned |
comment:3 Changed 6 years ago by
Owner: | changed from jamesyonan to Antonio Quartulli |
---|
comment:4 Changed 6 years ago by
Version: | OpenVPN 2.0.x (Community Ed) |
---|
comment:5 Changed 6 years ago by
Summary: | ipconfig failing to execute during VPN connection → windows: ipconfig failing to execute during VPN connection |
---|
comment:6 Changed 3 years ago by
Owner: | changed from Antonio Quartulli to OpenVPN Inc. |
---|
comment:7 Changed 11 months ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
OpenVPN Inc does not want to receive any feedback for the "Connect"
OpenVPN clients via the community bug trackers (here and in GH issues).
Please resubmit - if still relevant - via https://support.openvpn.net/
Reopened ticket 399. As this ticket is about OpenVPN Connect (a commercial client) and the other ticket about OpenVPN 2.3.4 (open source client), I'm not closing this one even though technically these two are almost duplicates.