Loading

加速Github访问,最新地址仅需1步!修改host快速达到2M!

目前github最新的host地址

# GitHub Start 
# Last update at 2021-08-03 21:13:14 (Beijing Time)
140.82.112.5 api.github.com
185.199.108.153 assets-cdn.github.com
185.199.110.133 avatars.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.110.133 camo.githubusercontent.com
185.199.108.133 cloud.githubusercontent.com
140.82.114.10 codeload.github.com
185.199.108.133 favicons.githubusercontent.com
140.82.113.4 gist.github.com
185.199.109.133 gist.githubusercontent.com
140.82.113.4 github.com
185.199.108.154 github.githubassets.com
185.199.109.133 marketplace-screenshots.githubusercontent.com
140.82.113.4 octocaptcha.com
185.199.111.133 raw.githubusercontent.com
185.199.109.133 repository-images.githubusercontent.com
140.82.112.14 uploads.github.com
185.199.109.133 user-images.githubusercontent.com
# GitHub End 

内容源自:https://github.com/ButterAndButterfly/GithubHost

自行查询源地址的方法:

第一步:访问ipaddress,获取github的global.ssl.fastly地址

https://fastly.net.ipaddress.com/github.global.ssl.fastly.net

得到:199.232.69.194 https://github.global.ssl.fastly.net

第二步:获取github.com地址

https://github.com.ipaddress.com

得到:140.82.112.4 http://github.com

https://www.ipaddress.com/

修改host文件,达到加速效果

windows系统:C:\Windows\System32\drivers\etc
mac系统:打开访达,commnd+shift+g,输入/etc/hosts

最后告诉大家一个快捷修改host的方法,看看这篇文章即可:
一秒搞定host修改,SwitchHosts多种host方案
https://www.cnblogs.com/inzens/p/13397300.html

posted @ 2021-08-05 11:19  inzens  阅读(2257)  评论(0编辑  收藏  举报