码迷,mamicode.com
首页 > 其他好文 > 详细

国内加速访问Github

时间:2020-02-12 16:22:05      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:image   linu   筛选   use   live   命令行   访问   sse   set   

我筛选的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

国内加速访问Github

标签:image   linu   筛选   use   live   命令行   访问   sse   set   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!