On Wed, 1 Dec 2004, James Yonan wrote:
On Wed, 1 Dec 2004, Claas Hilbrecht wrote:
Today I start running OpenVPN 2.0beta18 and tried the --remote-random
option. I added these lines to my openvpn config file:
Note that hostb and hostb gives DNS errors (host not found). Now I start
openvpn. OpenVPN selects this time hostb and tries forever to resolve this
nonexisting address. It would be really nice if a resolve that fails cause
openvpn to redo the random "sort" of the host list and maybe pick another
I agree. In fact that's the way it's supposed to work. You should be
able to say --resolv-retry 30 and it will try resolving one host for 30
seconds then move on to the next host in the shuffled list.
Hmm, how will this work...?
When you only specify one remote host I usually use --resolv-retry
infinite to make OpenVPN stay alive for ever.
If I would specify multiple hosts, I'd like to use --resolv-retry to
specify the time each host is tried, but after all hosts are tried, it
should start over on the first host again. Is this currently possible?
Mathias Sundman (^) ASCII Ribbon Campaign
OpenVPN GUI for Windows X NO HTML/RTF in e-mail
http://www.nilings.se/openvpn / \ NO Word docs in e-mail