本文参考:https://blog.csdn.net/hzwwpgmwy/article/details/79043251
不一定有效。
nslookup github.global.ssl.fastly.Net
nslookup github.com
sudo vim /etc/hosts
按 i 插入以下内容(地址请根据上文自己生成的)
x.x.x.x github.global-ssl.fastly.net
x.x.x.x github.com
然后 按ESC
然后 按 shift+两个Z 保存退出
sudo /etc/init.d/networking restart