cpetru
Hi Guys,
I have a client config file with 3 different remote servers,
ie:
remote vpn.xxxx.com 1199 udp
remote vpn2.xxxx.com1199 udp
remote vpn1.xxxx.com 1199 udp
Openvpn starts at boot time and sometimes -not always- is unable to resolve any of the hosts.
Wed Aug 26 14:33:30 2015 us=5685 RESOLVE: Cannot resolve host address: vpn.xxxx.com: [HOST_NOT_FOUND] The specified host is unknown.
Wed Aug 26 14:33:30 2015 us=5685 RESOLVE: Cannot resolve host address: vpn2.xxxx.com: [HOST_NOT_FOUND] The specified host is unknown.
Wed Aug 26 14:33:30 2015 us=5685 RESOLVE: Cannot resolve host address: vpn1.xxxx.com: [HOST_NOT_FOUND] The specified host is unknown.
On the same host and while this resolution is failing on the openvpn process im able to ping and resolve those host well.
So, im assuming something on the openvpn context is cached.
If i kill the processes and start it again it works. I think is somekind of race condition between the DHCP service and the openvpn trying
to resolv before having the network configured properly. But i can understand is why it keeps failing to resolve once the network is configured.
Any ideas ?
Thanks in advance,
cp.