版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_23301703/article/details/88284986
github更改hosts会变快
方法
step1 进入C:\Windows\System32\drivers\etc
用记事本或者notepad打开 hosts文件
step2 进入http://ping.chinaz.com/
测试 github.global.ssl.fastly.net assets-cdn.github.com
ping值 选取ping值较低ip
step3 hosts增加记录
扫描二维码关注公众号,回复:
6134804 查看本文章
作者是这两个ip最快
step4
最后一步 之前没刷新没效果 刷新才会变快 dns
Windows:ipconfig /flushdns
Ubuntu:sudo systemctl restart nscd