k***@yahoo.com
2009-03-06 22:01:17 UTC
On a Ubuntu desktop system, this is the OpenVPN client conf file:
====================
dev tun001
proto udp
remote NameOfOurVPNserver.org
ifconfig 192.168.21.2 192.168.21.1
secret /home/myself/data/staticVPN.key
log /home/myself/data/logOpenVPN.txt
verb 3
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
user openvpn
group openvpn
daemon
====================
At boot time, the client system log "/home/myself/data/logOpenVPN.txt" contains:
...
RESOLVE: Cannot resolve host address: NameOfOurVPNserver.org: [HOST_NOT_FOUND] The specified host is unknown.
...
RESOLVE: Cannot resolve host address: NameOfOurVPNserver.org: [HOST_NOT_FOUND] The specified host is unknown.
...
I understand that this is only a OpenVPN client side issue because
the "NameOfOurVPNserver.org" is accessible from everywhere else.
Also, I replaced
remote NameOfOurVPNserver.org
with
remote a.b.c.d
where a.b.c.d is the static WAN ip address of NameOfOurVPNserver.org
then I rebooted this Ubuntu system and this OpenVPN client works immediately.
How can I make this OpenVPN client resolve the host address "NameOfOurVPNserver.org" ?
====================
dev tun001
proto udp
remote NameOfOurVPNserver.org
ifconfig 192.168.21.2 192.168.21.1
secret /home/myself/data/staticVPN.key
log /home/myself/data/logOpenVPN.txt
verb 3
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
user openvpn
group openvpn
daemon
====================
At boot time, the client system log "/home/myself/data/logOpenVPN.txt" contains:
...
RESOLVE: Cannot resolve host address: NameOfOurVPNserver.org: [HOST_NOT_FOUND] The specified host is unknown.
...
RESOLVE: Cannot resolve host address: NameOfOurVPNserver.org: [HOST_NOT_FOUND] The specified host is unknown.
...
I understand that this is only a OpenVPN client side issue because
the "NameOfOurVPNserver.org" is accessible from everywhere else.
Also, I replaced
remote NameOfOurVPNserver.org
with
remote a.b.c.d
where a.b.c.d is the static WAN ip address of NameOfOurVPNserver.org
then I rebooted this Ubuntu system and this OpenVPN client works immediately.
How can I make this OpenVPN client resolve the host address "NameOfOurVPNserver.org" ?