1.修改 hosts
sudo vim /etc/hosts
2.配置 dns
151.101.185.194 github.global.ssl.fastly.net
通过4查询IP替换 github.com
通过4查询IP替换 assets-cdn.github.com
通过4查询IP替换 assets-cdn.github.com
185.199.108.153 documentcloud.github.com
192.30.253.118 gist.github.com
185.199.108.153 help.github.com
192.30.253.120 nodeload.github.com
151.101.112.133 raw.github.com
23.21.63.56 status.github.com
192.30.253.1668 training.github.com
192.30.253.112 www.github.com
通过4查询IP替换 github.global.ssl.fastly.net
151.101.12.133 avatars0.githubusercontent.com
151.101.112.133 avatars1.githubusercontent.com
3.刷新 dscacheutil -flushcache
4.获取GitHub官方CDN地址,通过https://www.ipaddress.com输入域名获得IP
- github.com
- assets-cdn.github.com
- github.global.ssl.fastly.net
网友评论