Ubuntu使用git clone github或ping github失败
1、访问https://fastly.net.ipaddress.com/github.global.ssl.fastly.net#ipinfo获取cdn域名以及IP地址
2、访问https://github.com.ipaddress.com/#ipinfo获取cdn域名以及IP地址
3、将IP地址添加到/etc/hosts中
vi /etc/hosts
再次尝试ping或者git clone即可成功