I've seen plenty of issues with DNS resolution but am still having issues with it through my VPN. I can ping remote addresses by IP with no issues through the VPN.
Server side: Fedora 17, using OpenVPN 2.2.0.0
Server side config pertinent parts of config:
server 10.8.0.0 255.255.255.0
push "route 192.168.<internal network> 255.255.255.0"
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
iptables:
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT
iptables -A FORWARD -d 10.8.0.0/24 -j ACCEPT
iptables -A FORWARD -j REJECT
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o wlan0 -j MASQUERADE
iptables -t nat -A POSTROUTING -d 10.8.0.0/24 -o wlan0 -j MASQUERADE
Win 7 client config pertinent options:
register-dns
firewall holes poked for UDP/TCP port that match my firewall hole that gets pushed to my server side
I have no problems with establishing a connection from client to server for the VPN.
I can ping 4.2.2.2 with no problems through the VPN:
Reply from 4.2.2.2: bytes=32 time=167ms TTL=54
Reply from 4.2.2.2: bytes=32 time=1108ms TTL=54
Reply from 4.2.2.2: bytes=32 time=68ms TTL=54
Reply from 4.2.2.2: bytes=32 time=123ms TTL=54
However, having issues with DNS resolution:
nslookup
www.google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 10.8.0.1
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
What am I missing? It's probably something obvious.
Thanks in advance for help!