Forcing Google Services to local (RSA) IP address

My gmail doesn't work :( everything else does, stoked that youtube does :D but not gmail, the reason i did this :( any help please?
 
TheHxckid, do you have no international cap left? Could you also tell me which lines (relevant to Gmail) you imported into your hosts file?
Please post the results of 'ping mail.google.com' and 'ping www.gmail.com' -> I'm only interested in the IP address that those hostnames resolve to.
 
That's unfortunately the problem when forcing an HTTPS connection to a different server :( If you do get this issue with the certificates, PLEASE ensure that the Certificate Hierarchy tree resolves back to a Built-in Token (Root Certificate) in Firefox. You can view the Certificate and then in the Details tab it would show the Hierarchy tree.

I've updated my list in my first post by merging/adding all the DNS entries given in this thread. I've also removed all the double entries. Like www.google.com would resolve to www.l.google.com, so I've removed www.google.com.

If you have a DNS server that won't resolve www.google.com to www.l.google.com, then I would love to get that DNS server's IP address :)
I've used the following DNS servers to test my list: 168.210.2.2 (IS), 196.25.1.9 (Telkom), 146.232.128.10 (Stellenbosch Unversity - Internal access only) & 8.8.8.8 (Google DNS).
To check how the DNS entry is being resolved, use the command-line app: nslookup <hostname>, eg. nslookup www.google.com
In Linux you can either use nslookup or dig
Ok I checked and this is all I got, and I can't find a way to adds mail.google.com
http://sachan.za.net/src/1277731835553.jpg
 
TheHxckid, do you have no international cap left? Could you also tell me which lines (relevant to Gmail) you imported into your hosts file?
Please post the results of 'ping mail.google.com' and 'ping www.gmail.com' -> I'm only interested in the IP address that those hostnames resolve to.

i topped up my account today so i have international again. but we get capped every month so i still need this.
i copied and pasted everything in your original post into that file. and like i said everything worked but gmail. not sure what you meant exactly with the ping but i assumed i should type it in cmd. this was the IP address i got back

209.85.227.18 (mail.google.com)
209.85.227.83 (www.gmail.com)

hope thats what you wanted :)
 
Yes. Most of the ISP's only route the Google Searching to a local server, or very few of the Google Services.

I see Blog & Gmail are the only two not resolving locally on Cybersmart.
 
Can anyone access GMail with local only access.
The ping suggests that it is local, and the connection to the server doesn't time out, it gets "interupted".
 
I haven't had any trouble with Gmail on my Mweb account, using these modifications. If you guys are experiencing problems, please post your ISP package that you're using and also the DNS server IP address if you can get hold of it. Do a ping to the Gmail address that you're using, like mail.google.com or www.gmail.com and post the IP here too.
 
I haven't had any trouble with Gmail on my Mweb account, using these modifications. If you guys are experiencing problems, please post your ISP package that you're using and also the DNS server IP address if you can get hold of it. Do a ping to the Gmail address that you're using, like mail.google.com or www.gmail.com and post the IP here too.

ISP : Telkom : Do Broadband Level2
Ping to www.Google.Com Gets a Reply From 165.165.38.147
Ping to mail.google.com gets a reply from 196. 23.168.147
Ping to www.gmail.com times out from 209.85.227.17

I'm not sure how to check my DNS server.

EDIT: I changed stuff in the hosts file and all the pings now responds from 196.23.168.147
In Firefox, Gmail doesn't work, but strangely enough, it works in Chrome.
Chrome just has an issue with the security certificate.
 
Last edited:
telkom do2
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\TPex>ping mail.google.com

Pinging mail.google.com [196.23.168.147] with 32 bytes of data:
Reply from 196.23.168.147: bytes=32 time=158ms TTL=59
Reply from 196.23.168.147: bytes=32 time=251ms TTL=59
Reply from 196.23.168.147: bytes=32 time=322ms TTL=59
Reply from 196.23.168.147: bytes=32 time=221ms TTL=59

Ping statistics for 196.23.168.147:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 158ms, Maximum = 322ms, Average = 238ms

C:\Users\TPex>

Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\TPex>ping mail.google.com

Pinging mail.google.com [196.23.168.147] with 32 bytes of data:
Reply from 196.23.168.147: bytes=32 time=158ms TTL=59
Reply from 196.23.168.147: bytes=32 time=251ms TTL=59
Reply from 196.23.168.147: bytes=32 time=322ms TTL=59
Reply from 196.23.168.147: bytes=32 time=221ms TTL=59

Ping statistics for 196.23.168.147:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 158ms, Maximum = 322ms, Average = 238ms

C:\Users\TPex>
 
I see alot of people is having problems with gmail.. And I thought I was the only one.. ^ ^

I think gmail isn't fully working with the local system ... yet..

Because I was actaully thinking that maybe it was because of gmail being down, so I used my phone to go on.. and it worked.. mm.. maybe it's different using a phone?
 
Everything stopped working.
Pinging 196.23.168.147 resuts in a timeout.
WTH is wrong now?

EDIT: Resolved in about 10 seconds, feel kinda stupid now.:erm:
 
Yeah, there was a problem with the Google services a few minutes ago where I received an Error 502.

I've now gone and tried the hosts file modification in Ubuntu 10.04 and it didn't work like in Windows :(
It seems like in Linux you have to override the first hostname being used, like www.google.co.za, and not like in Windows where you can override the CNAME of www.google.co.za which is www.l.google.com. So for the hosts file to work under Linux, you'll have to add all the entries that I've merged into the *.l.google.com !
 
Gmail works when I use the gmail app on my phone but its not working when I use the HTC built in app. So weird! (TelkomDo3)



_____________________________________
Sent from my
**´¨)
*¸.·´¸.·*´¨) * *¸.·*¨)
(¸.·´ * * *(¸.·´HTC® DESIRE super phone
 
Can't get Youtube videos to buffer

Thanks for the info. Good to use google on local cap :D

I just have a problem with Youtube videos. It doesn't work for me.

Youtube pages load but it always says "An error occured, please try again later" even after I refresh the page. When I look at the status bar I see connections to v24.lscache2.c.youtube.com and others like ad-emea.doubleclick.net. I also see it connecting to landingpages.mweb.co.za. Landingpages is MWEB's webpage which informs you that you are capped when trying to visit a non-local site.

Based on what I've learned from this thread I'm thinking that my Hosts file is maybe missing an IP address and a host name that youtube requires which is why it connects to landingpages. :confused:

The connections in the status bar change very quickly so it's hard to spot which ones show up before it connects to landingpages.

Any ideas? Would really appreciate some help :)
 
v24.lscache2.c.youtube.com wasn't added to the list, but ad-emea.doubleclick.net was in the list as '196.23.168.147 dart.l.doubleclick.net'.
You can try adding '196.23.168.147 v24.lscache2.l.google.com' for making v24.lscache2.c.youtube.com local.

If you want to see which the objects the page loads, use Firebug. Unfortunately Firebug clears its list as soon as it gets a page redirect.
 
Top
Sign up to the MyBroadband newsletter
X