Centos服务器上ping不通github.com解决办法

1.执行命令vim /etc/hosts

2.在hosts文件中加上以下域名解析:

192.30.253.113 github.com 
192.30.252.131 github.com 
185.31.16.185 github.global.ssl.fastly.net 
74.125.237.1 dl-ssl.google.com 
173.194.127.200 groups.google.com 
192.30.252.131 github.com 
185.31.16.185 github.global.ssl.fastly.net 
74.125.128.95 ajax.googleapis.com

你可能感兴趣的:(Centos服务器上ping不通github.com解决办法)