

Directory of hosts file under windows – > C: windows system32 drivers etc
mac、linux下hosts文件精神所在专业目录—>/etc/hosts,修改hosts文件添加如下内容
#Github
151.101.44.249 github.Global SSL.apace. network
192.30.253.113 github.com
103.245. 222.133 asset CDN.github。 Common domain name format
23.235. 47.133 asset CDN.github。 Common domain name format
203.208.39.104 assets-cdn.github。 Common domain name format
204.232.175.78 documentcloud.github。 Common domain name format
204.232.175.94 gist.github.com
107.21.116.220 help.github.com
207:97.227. 252 nordrode.github。 Common domain name format
199.27.76.130 raw.github.com
107.22.3.110 status.github.com
204.232. 175.78 training.github。 Common domain name format
207.97.227.243 www.github.com
185.31. 16.184 GitHub.Global SSL.apace. network
185.31. 18.133 avatar 0.githubusercontent.com
185.31. 19.133 avatar 1.githubusercontent.com
192.30.253.120 codeload.github。 Common domain name format
windows下刷新DNS的方法:
ipconfig /flushdns
mac下刷新DNS的方法:
lookupd -flushcache
lilux下刷新DNS的方法:
sysv管理服务:
找到 /etc/init.d/nscd重启一下
/etc/init.d/nscd restart
systemd管理服务:
systemctl restart nscd,以上就是关于“访问Github速度很慢通用解决方法”的相关解答,vsping安全知名 云服务商, 云服务器用户按需选择内存、数据盘、cup等配置大小,弹性灵活扩容,平滑升级。使用管理更轻松;专业技术团队7×24小时服务支持,售后无忧!,高性价云服务器选购地址:https://www.kdun.com/server/buy.html,