Opened 12 years ago
Closed 11 years ago
#256 closed Bug / Defect (notabug)
Can't establish connection to the server with more then 1 DNS
Reported by: | vertilon | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | OpenVPN Connect | Version: | |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | iOS dns |
Cc: | james@… |
Description
Cant connect to the server on iOS client. Our OpenVPN has configuration with two DNS:
10.10.7.35-primary
10.10.8.35-secondary
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | ovpn_ios_error.log added |
---|
comment:1 Changed 11 years ago by
Cc: | james@… added |
---|---|
Component: | Configuration → OpenVPN Connect |
Keywords: | dns added; DNS parsing error removed |
Version: | 2.2.2 |
At the moment only James can fix this - CC'ing him...
comment:2 Changed 11 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
The fix is actually quite simple: put the two DNS servers on two different lines
push "dhcp-option DNS 10.10.7.35"
push "dhcp-option DNS 10.10.8.35"
the fact that this seems to be a bug in OpenVPN Connect is because Connect is parsing the options more strictly than OpenVPN 2.x - the latter will just ignore everything behind the first DNS server IP address (so will only use one address anyway) while the former will flag this as an error.
I'm closing this ticket now, as while it might be somewhat annoying, it's not exactly a bug.
Log of connection