PDA

View Full Version : [ubuntu] Server can't see the DNS on the remote server connected using OpenVPN.



jusufd
April 7th, 2010, 05:26 PM
Hi,

My Ubuntu server remotely connected to Windows OpenVPN server that also host the DNS. This Ubuntu server can't recognize any entry of the DNS. When I ping any entry it always fail. Did I need to add something on my OpenVPN config. Can you guys help me out?

Here is my OpenVPN client configuration:
#-------------------------
client
dev tun
proto udp
remote 65.223.123.456 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca2.crt
cert server2.crt
key server2.key
comp-lzo
verb 3
#-------------------------

Thanks.

KB1JWQ
April 7th, 2010, 06:15 PM
cat /etc/resolv.conf

What DNS servers live there? The remote ones (good!) or the local ones (bad!)?

cdenley
April 7th, 2010, 07:03 PM
http://openvpn.net/archive/openvpn-users/2006-10/msg00217.html
http://openvpn.net/archive/openvpn-users/2006-10/msg00218.html