Opened 11 years ago

Closed 10 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@…


Cant connect to the server on iOS client. Our OpenVPN has configuration with two DNS:

Attachments (1)

ovpn_ios_error.log (3.1 KB) - added by vertilon 11 years ago.
Log of connection

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by vertilon

Attachment: ovpn_ios_error.log added

Log of connection

comment:1 Changed 11 years ago by Samuli Seppänen

Cc: james@… added
Component: ConfigurationOpenVPN 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 10 years ago by Gert Döring

Resolution: notabug
Status: newclosed

The fix is actually quite simple: put the two DNS servers on two different lines

push "dhcp-option DNS"
push "dhcp-option DNS"

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.

Note: See TracTickets for help on using tickets.