PDA

View Full Version : Cannot Connect to Google.Com unless behind Proxy



dabbers
August 29th, 2011, 02:54 PM
So I started using a ssh tunnel into one of my VPS from my MacBook Pro (10.6.8), to keep some browsing secure. After tunneling, I was unable to connect to Google.com. I can connect to mail.google.com and other subdomains, but not the plain google.com

A traceroute shows this:

http://privatepaste.com/395ec474ec

The last IP it gets stuck on is a Google IP according to an IP lookup. So in order for me to use almost anything Google related that refers to google.com. Is there anyway for me to fix this? I've already attempted to clear DNS cache. What other options are there for me?

Thanks!

Satcomer
August 29th, 2011, 09:43 PM
Does the DNS problem appear with you regular connection or with the SSH tunnel being used? If it is the tunneled computer of server that problem with DNS is there.

dabbers
August 29th, 2011, 10:00 PM
The DNS issue occurs on my regular connection. Using my tunnel is the only time it'll show up.


Edit:

ROFL. I'm such a newb sometimes. I'm not sure why I did this... but I found the issue:

daBookPro:~ dabitp$ cat /etc/hosts | grep google
72.14.213.139 google.com
72.14.213.139 www.google.com


Removing those entries fixed my issue. Sorry for the needles thread guys! haha.