修改hosts文件加速google

1870阅读 0评论2013-04-28 bailiangcn
分类:LINUX

      最近google的搜索越来越不稳定了,其实他的国内服务器仍然存在,可以通过修改 /etc/hosts 文件来加速 google 搜索的访问,同时gmail的速度也明显提升了。

首先使用:

nslookup

会返回 的ip地址,不同时间dns返回的结果好像不同

    Non-authoritative answer:
    Name:   
    Address: 203.208.37.16
    Name:   
    Address: 203.208.37.17
    Name:   
    Address: 203.208.37.18
    Name:   
    Address: 203.208.37.20
    Name:   
    Address: 203.208.37.19

把以下内容加入 /etc/hosts 中

    #================谷歌加速==========#

    203.208.37.17 ssl.gstatic.com
    203.208.37.17 oauth.googleusercontent.com
    203.208.37.17 r3085-dot-latest-dot-project-slingshot-gp.appspot.com
    203.208.37.17 newsfeed-dot-latest-dot-rovio-ad-engine.appspot.com
    203.208.37.17 project-slingshot-gp.appspot.com
    203.208.37.17 images-lso-opensocial.googleusercontent.com
    203.208.37.17 images-oz-opensocial.googleusercontent.com
    203.208.37.17 upt14k1i2veesusrda9nfotcrbp9d7p5-a-oz-opensocial.googleusercontent.com
    203.208.37.17 maps.google.com
    203.208.37.17 mail.google.com
    203.208.37.17 docs.google.com
    203.208.37.17 webcache.googleusercontent.com
    203.208.37.17 maps-api-ssl.google.com
    203.208.37.17 images1-focus-opensocial.googleusercontent.com
    203.208.37.17 images2-focus-opensocial.googleusercontent.com
    203.208.37.17 
    203.208.37.17 .hk
    203.208.37.17 chrome.google.com
    203.208.37.17 profiles.google.com
    203.208.37.17 plus.google.com
    203.208.37.17 talkgadget.google.com
    203.208.37.17 picasaweb.google.com
    203.208.37.17 clients1.google.com
    203.208.37.17 clients2.google.com
    203.208.37.17 clients3.google.com
    203.208.37.17 clients4.google.com
    203.208.37.17 clients5.google.com
    203.208.37.17 clients6.google.com
    203.208.37.17 clients7.google.com
    203.208.37.17 clients1.googleusercontent.com
    203.208.37.17 clients2.googleusercontent.com
    203.208.37.17 clients3.googleusercontent.com
    203.208.37.17 clients4.googleusercontent.com
    203.208.37.17 clients5.googleusercontent.com
    203.208.37.17 clients6.googleusercontent.com
    203.208.37.17 clients7.googleusercontent.com
    203.208.37.17 lh1.ggpht.com
    203.208.37.17 lh2.ggpht.com
    203.208.37.17 lh3.ggpht.com
    203.208.37.17 lh4.ggpht.com
    203.208.37.17 lh5.ggpht.com
    203.208.37.17 lh6.ggpht.com
    203.208.37.17 lh6.googleusercontent.com
    203.208.37.17 lh5.googleusercontent.com
    203.208.37.17 lh4.googleusercontent.com
    203.208.37.17 lh3.googleusercontent.com
    203.208.37.17 lh2.googleusercontent.com
    203.208.37.17 lh1.googleusercontent.com
    203.208.37.17 spreadsheets.google.com
    203.208.37.17 code.google.com
    203.208.37.17 mail-attachment.googleusercontent.com
    203.208.37.17 id.google.com
    203.208.37.17 0.docs.google.com
    203.208.37.17 1.docs.google.com
    203.208.37.17 chatenabled.mail.google.com
    203.208.46.161 encrypted-tbn0.google.com
    203.208.46.162 encrypted-tbn1.google.com
    203.208.46.163 encrypted-tbn2.google.com
    203.208.46.164 encrypted-tbn3.google.com
    #
    #================谷歌加速完毕==========#
上一篇:fcitx与vim设置
下一篇:超好的HTML5的设计哲学演讲