Opened 8 years ago

Closed 8 years ago

#749 closed Bug / Defect (duplicate)

remote-random-hostname prevent connections when *.<hostname> domains doesn't resolve

Reported by: cypa Owned by:
Priority: major Milestone: release 2.3.0
Component: Configuration Version: OpenVPN 2.3.2 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: remote-random-hostname dns


openvpn client lost connection to server on due to remote-random-hostname option, because where is dns irregularity and client host cant resole random prefixed hostname,
actually on the server:

$ dig +short
$ dig +short

while on the client:

$ dig +short
$ dig +short

should openvpn client sometime resolve plain clear hostname, e.g. without random prefix?

Change History (4)

comment:1 Changed 8 years ago by cypa

shall setup this config to see long term behaviour ...

comment:2 Changed 8 years ago by cypa

oops, seems random-remote-hostname totally broken in 2.3.2

Oct 6 10:15:23 busik2 ovpn-officeburg[8671]: RESOLVE: Cannot resolve host address: 62-0x5a7e9816bb08.33.152.80: Name or service not known

comment:3 Changed 8 years ago by cypa

it is known and closed bug #143

still it is not fixed in current openvpn in Ubuntu 14.04

comment:4 Changed 8 years ago by plaisthos

Resolution: duplicate
Status: newclosed

if you need the plain hostname too, add a <connection> section wihtout remote-random.

The other but you are seeing is already fixed a long time ago (see #143)

Note: See TracTickets for help on using tickets.