I am trying to get a mac (10.8) to connect to thru vpn to a server running Windows Server 2008 R2 pass all requests from the mac to the server.
The VPN is setup and I can connect and access the server thru a web browser, but for all other sites, the DNS lookup fails.
I have tried adding a DNS server to the VPN Host.
Lets say the the VPN server also hosts a website example.com.
I connect to the VPN with my mac and point a browser to example.com and everything works fine.
but when I point the browser to google.com it just sits there and will eventually come back with a DNS lookup failed message.
HOWEVER: I tried running the command dig @myServersIpHere www.google.com. on the mac and it comes back with correct IP addresses.
I really dont know what to do from here.
How can I route all requests from my mac, thru my windows server via VPN?
Ok, stupid move of me, I changed some ips arround. The browser still tells me that dns lookups are failing, but NSlookup actually worked.
this time it produced the response of
Adam-Schiavones-MacBook-Pro:~ adam$ nslookup www.google.com Server: 188.8.131.52 Address: 184.108.40.206#53 Non-authoritative answer: www.google.com canonical name = www.l.google.com. Name: www.l.google.com Address: 220.127.116.11 Name: www.l.google.com Address: 18.104.22.168 Name: www.l.google.com Address: 22.214.171.124 Name: www.l.google.com Address: 126.96.36.199 Name: www.l.google.com Address: 188.8.131.52 Name: www.l.google.com Address: 184.108.40.206