Problem : in client side my domains are not resolved
when I "ping www.google.com" I get
Ping request could not find host www.google.com. Please check the name and try again.
PLEASE HELP
My Client is using Windows 10 (Open VPN Connect) my openvpn client file cnotains this :
client
dev tun
proto udp
remote myRemotServerIpValue 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert myclient1.crt
key myclient1.key
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
My Server is using Ubuntu
I added this to myserver.conf
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
So the full content of my server file is :
port 1194
proto udp
dev tun
ca ca.crt
cert myservername.crt
key myservername.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
verb 3
explicit-exit-notify 1