一、打开 http://IPAddress.com 网站,查询下面3个网址对应的IP地址
http://github.com
http://assets-cdn.github.com
http://github.global.ssl.fastly.net
二、修改本地电脑系统hosts文件
# ipaddress.com 加快github访问速度
140.82.114.3 github.com
199.232.5.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
三、刷新系统dns缓存
用WIN+R
快捷键打开运行窗口,输入命令:cmd并回车进入命令行窗口。
接着输入命令:ipconfig /flushdns
回车后执行刷新本地dns缓存数据即可。
我的备份:
# 140.82.113.4 github.com
# 199.232.69.194 github.global.ssl.fastly.net
192.30.253.112 github.com
192.30.253.113 github.com
151.101.185.194 github.global.ssl.fastly.net
151.101.13.194 github.global.ssl.fastly.net
151.101.12.133 assets-cdn.github.com
151.101.184.133 assets-cdn.github.com
199.232.28.133 avatars0.githubusercontent.com
199.232.28.133 avatars1.githubusercontent.com
199.232.28.133 avatars2.githubusercontent.com
199.232.28.133 avatars3.githubusercontent.com
199.232.28.133 avatars4.githubusercontent.com
199.232.28.133 avatars5.githubusercontent.com
199.232.28.133 avatars6.githubusercontent.com
199.232.28.133 avatars7.githubusercontent.com
199.232.28.133 avatars8.githubusercontent.com
199.232.28.133 githubusercontent.com
SwitchHost 远程host设置:
GitHub520开源地址: https://github.com/521xueweihan/GitHub520