国内加速访问Github

我筛选的hosts内容:

192.30.253.113      github.com
140.82.118.3        www.github.com
140.82.118.6        api.github.com
151.101.40.133      github.map.fastly.net
151.101.228.133     raw.github.com
151.101.228.133     githubusercontent.com
151.101.65.194      github.global.ssl.fastly.net
185.199.110.153     assets-cdn.github.com
185.199.110.153     documentcloud.github.com
185.199.110.153     help.github.com
203.208.39.99       codeload.github.com
203.208.39.99       gist.github.com
203.208.39.99       status.github.com
203.208.39.99       nodeload.github.com
140.82.114.17       training.github.com
140.82.113.26       live.github.com

通过访问 http://ping.chinaz.com/ 获取不同区域DNS解析到的IP地址:

http://ping.chinaz.com/github.com
http://ping.chinaz.com/github.map.fastly.net
http://ping.chinaz.com/github.global.ssl.fastly.net
http://ping.chinaz.com/assets-cdn.github.com
http://ping.chinaz.com/documentcloud.github.com
http://ping.chinaz.com/help.github.com
http://ping.chinaz.com/gist.github.com
http://ping.chinaz.com/api.github.com
http://ping.chinaz.com/live.github.com
http://ping.chinaz.com/nodeload.github.com
http://ping.chinaz.com/raw.github.com
http://ping.chinaz.com/status.github.com
http://ping.chinaz.com/training.github.com
http://ping.chinaz.com/www.github.com
http://ping.chinaz.com/avatars0.githubusercontent.com
http://ping.chinaz.com/avatars1.githubusercontent.com
http://ping.chinaz.com/codeload.github.com

可以使用浏览器同时打开,节约时间,将获取到的IP地址通过 PingInfoView 进行筛选,选出延迟最小、失败次数最少(成功次数最多)的IP地址,如:

将找出的地址配置到 C:\Windows\System32\drivers\etc\hosts 文件中(我这里是Windows环境,linux同理),然后命令行下执行 ipconfig /flushdns

怎么样,速度还可以吧 ^_^

PingInfoView
下载地址: http://www.nirsoft.net/utils/pinginfoview.zip
汉化文件:http://www.nirsoft.net/utils/trans/pinginfoview_schinese1.zip

这里是我自己找出来的地址,记录一下:

http://ping.chinaz.com/github.com
192.30.253.113
13.229.188.59
13.250.177.223
52.74.223.119
52.78.231.108
192.30.255.112
140.82.118.3
140.82.113.3
140.82.114.4
15.164.81.167
13.114.40.48
140.82.113.4

github.map.fastly.net

151.101.40.133
151.101.228.133
151.101.108.133
151.101.0.133
151.101.76.133
151.101.192.133
151.101.136.133

github.global.ssl.fastly.net

93.46.8.89
199.16.158.190
67.228.37.26
151.101.1.194
31.13.66.6
69.63.190.26
66.220.155.12
199.59.149.244
69.63.184.30
67.228.102.32
46.82.174.68
31.13.82.1
31.13.85.16
67.228.221.221
31.13.84.1
59.24.3.173
69.171.227.37
31.13.97.245
31.13.66.1
31.13.72.17
69.63.178.13
31.13.81.17
66.220.149.32
199.59.150.11
75.126.150.210
69.171.240.27
69.171.229.11
69.63.186.30
31.13.78.65
64.13.232.149
31.13.68.22
74.86.118.24
31.13.76.16
69.63.176.143
69.171.234.18
173.252.102.16
31.13.74.17
69.171.229.28
88.191.249.183
67.228.74.123
75.126.2.43
173.252.110.21
74.86.151.167
69.171.245.49
205.186.152.122
75.126.164.178
69.171.230.18
31.13.86.8
174.36.228.136
31.13.65.18
74.86.3.208
69.171.224.40
31.13.70.20
173.252.102.241
75.126.115.192
174.37.154.236
151.101.65.194
69.171.247.20
69.171.247.32
151.101.21.194
151.101.229.194

assets-cdn.github.com
185.199.109.153
185.199.111.153
185.199.110.153
185.199.108.153
203.208.39.104

documentcloud.github.com

185.199.108.153
185.199.111.153
185.199.109.153
185.199.110.153
66.249.89.104

help.github.com

185.199.108.154
185.199.109.154
185.199.111.154
185.199.110.154
203.208.39.104

gist.github.com

59.24.3.173
8.7.198.45
203.98.7.65
203.208.39.99
13.250.177.223
52.74.223.119
13.229.188.59
192.30.255.119
192.30.253.119
192.30.253.118
192.30.255.118

api.github.com
http://ping.chinaz.com/api.github.com

13.250.168.23
13.250.94.254
54.169.195.247
66.249.89.104
54.180.75.25
140.82.113.6
140.82.114.6
140.82.114.5
192.30.255.117
140.82.118.6
192.30.253.116
13.209.163.61
192.30.253.117
13.230.158.120
140.82.113.5

live.github.com
http://ping.chinaz.com/live.github.com

140.82.114.26
192.30.253.125
192.30.253.124
140.82.113.25
140.82.114.25
203.208.39.104
140.82.113.26
140.82.114.26
192.30.253.125
192.30.253.124
140.82.113.25
140.82.114.25
203.208.39.104
140.82.113.26

nodeload.github.com

54.251.140.56
13.250.162.133
13.229.189.0
13.124.243.66
203.208.39.99
140.82.114.10
140.82.113.9
192.30.253.120
192.30.255.121
140.82.113.10
13.124.75.135
13.112.159.149
192.30.253.121

raw.github.com

151.101.228.133
151.101.108.133
203.208.39.104
151.101.0.133
151.101.196.133
151.101.40.133
151.101.192.133
151.101.208.133

status.github.com
http://ping.chinaz.com/status.github.com

52.205.36.92
54.85.97.34
52.87.114.63
203.208.39.99

training.github.com
http://ping.chinaz.com/training.github.com

140.82.114.17
140.82.113.17
140.82.114.18
192.30.253.166
192.30.253.167
140.82.113.18
66.249.89.104

www.github.com
http://ping.chinaz.com/www.github.com

13.250.177.223
13.229.188.59
52.74.223.119
15.164.81.167
66.249.89.104
140.82.113.4
192.30.253.112
140.82.118.4
52.192.72.89
52.78.231.108
192.30.255.112
140.82.113.3
140.82.114.4
140.82.118.3

avatars0.githubusercontent.com
http://ping.chinaz.com/avatars0.githubusercontent.com

151.101.228.133
151.101.108.133
151.101.40.133
151.101.0.133
151.101.20.133

avatars1.githubusercontent.com
http://ping.chinaz.com/avatars1.githubusercontent.com

151.101.228.133
151.101.0.133
151.101.40.133
151.101.108.133
199.232.36.133

codeload.github.com 203.208.39.99
http://ping.chinaz.com/codeload.github.com

54.251.140.56
13.229.189.0
13.250.162.133
203.208.39.99
13.124.243.66
140.82.114.10
192.30.253.120
192.30.255.120
192.30.253.121
192.30.255.121
140.82.113.10
140.82.113.9
140.82.114.9
13.124.75.135
13.112.159.149

原文地址:https://www.cnblogs.com/msvc/p/12299215.html

时间: 2024-08-29 23:14:00

国内加速访问Github的相关文章

修改host文件加速访问github

修改本地电脑系统 hosts 文件C:\Windows\System32\drivers\etc,直接在最后加入以下代码 192.30.253.112 github.com 192.30.253.113 github.com 151.101.184.133 assets-cdn.github.com 151.101.185.194 github.global.ssl.fastly.net 用WIN +R快捷键打开运行窗口,输入命令:cmd 并回车进入命令行窗口,接着输入命令:ipconfig /

前端 CDNJS 库及 Google Fonts、Ajax 和 Gravatar 国内加速服务

由于某些众所周知的原因,好多开源的 JS 库采用的国外 CDN 托管方式在国内访问速度不如人意.所以我们特意制作了这个公益项目,托管了 CDNJS 的所有开源 JS 库以及反代了 Google Fonts.Ajax 和 Gravatar,并且全部支持 http 和 https 1.CDNJS 开源 JS 库 我们采用的方法是每天定时同步 CDNJS 的 Github(http://t.cn/REVf3N2) 所有的 JS/CSS 库可以在这儿找到您需要的链接 :https://cdnjs.cat

访问Github慢的解决办法

http://blog.csdn.net/sunsteam/article/details/63253933 http://tool.chinaz.com/dns 151.101.40.249  github.global.ssl.fastly.net 151.101.40.133  assets-cdn.github.com vi /etc/hosts C:\Windows\System32\drivers\etc yum install -y nscd /etc/rc.d/init.d/ns

解决访问github时css、js样式加载不了

最近发现访问github时会时不时出现样式加载不了的问题 F12查看控制台信息,发现几个样式文件time-out,当然是GRW的杰作 DNS解析不了就只有自己连IP地址了,在http://serve.netsh.org/pub/ping-tool/中查看这两个域名的IP地址,更改本地hosts文件 ubuntu的hosts在/etc/hosts文件中 更改过后别忘了重启网络  sudo /etc/init.d/networking restart 再次访问github

Git代理设置与访问Github

由于目前工作的网络环境有着很严格的限制,可以说最近在通过代理访问Github上颇费了一些周折,也积累了一些相关的经验,觉得有必要备忘一下.本着"不重新发明轮子"的宗旨,本文不会对Github代理设置的每一个细节进行赘述,文中会给出现成的参考文章,这里要做的是针对一些重要的问题进行解释和补充,相信一定能给遇到同样问题朋友以帮助.本文原文出处:http://blog.csdn.net/bluishglc/article/details/37807501 严禁任何形式的转载,否则将委托CSD

Mac下修改hosts 解决访问github慢的问题

Mac下修改hosts 解决访问github慢的问题 mac下hosts文件在 /etc/hosts.所以先打开终端.然后输入如下命令,打开hosts文件. su vim /etc/hosts 输入mac管理员密码,就可以使用vim打开hosts文件.将如下github的host放到hosts文件中.在 vim 编辑中,按 "i"建进入插入模式,就可以将下面的 hosts 修改粘贴进入到hosts文件中. http://github.com 204.232.175.94 http://

【Graphql实践】使用 Apollo(iOS) 访问 Github 的 Graphql API

最近在协助调研 Apollo 生成的代码是否有可能跨 Query 共享模型的问题,虽然初步结论是不能,并不是预期的结果,但是在调研过程中积累的一些经验,有必要记录下.如果你也对 Graphql 感兴趣,不妨先从 Github 的 Graphql API 来切手实践. 关于 Graphql 官网 尽管只是做客户端的一些实践,我还是建议你先过一遍 Graphql 官网的学习指南.这样能更快速地理解概念.一些客户端库的文档,大部分都只是介绍基本用法. 中文版,可以直接看 http://graphql.

使用码云加速下载github项目

使用码云加速下载github项目 觉得有用的话,欢迎一起讨论相互学习~Follow Me 从codesheep中学到的思路,点关注不迷路,一键三联哦 众所周知,github上的项目下载都很慢,并且随着项目中文件数量变多,下载过程会大概率失败.但是可以先将Github上的项目存到码云中,再从码云中下载,这个过程可以很快. 复制github中的项目地址 打开码云,并且通过github地址创建新的项目 然后就可以下载到本地了SourceTree使用SSH克隆码云项目 如果你下载之后还想和github上

github访问慢加速访问

实测从1kb到了1m多 方法: 登录 https://www.ipaddress.com/ 输入github.com得到一个或两个IP地址 输入github.global.ssl.fastly.net得到一个或两个IP地址 分别为这两个域名配置hosts解析即可,windows下可以百度switchhosts这个神器更改hosts.也可以手改. 配置后刷新dns windows :ipconfig /flushdns 原文地址:https://www.cnblogs.com/tymagic/p/