当前位置:   article > 正文

关于github在linux上的加速DNS设置_dns设置哪个最好最快 github

dns设置哪个最好最快 github

host的一些修改手动添加:

vim /etc/hosts

 或者

gedit /etc/hosts

复制下列DNS代码:

  1. # GitHub520 Host Start
  2. 140.82.114.26 alive.github.com
  3. 140.82.114.26 live.github.com
  4. 185.199.108.154 github.githubassets.com
  5. 140.82.114.22 central.github.com
  6. 185.199.108.133 desktop.githubusercontent.com
  7. 185.199.108.153 assets-cdn.github.com
  8. 185.199.108.133 camo.githubusercontent.com
  9. 185.199.108.133 github.map.fastly.net
  10. 199.232.69.194 github.global.ssl.fastly.net
  11. 140.82.114.3 gist.github.com
  12. 185.199.111.153 github.io
  13. 140.82.113.4 github.com
  14. 192.0.66.2 github.blog
  15. 140.82.114.6 api.github.com
  16. 185.199.108.133 raw.githubusercontent.com
  17. 185.199.108.133 user-images.githubusercontent.com
  18. 185.199.108.133 favicons.githubusercontent.com
  19. 185.199.108.133 avatars5.githubusercontent.com
  20. 185.199.108.133 avatars4.githubusercontent.com
  21. 185.199.108.133 avatars3.githubusercontent.com
  22. 185.199.108.133 avatars2.githubusercontent.com
  23. 185.199.108.133 avatars1.githubusercontent.com
  24. 185.199.108.133 avatars0.githubusercontent.com
  25. 185.199.108.133 avatars.githubusercontent.com
  26. 140.82.113.9 codeload.github.com
  27. 52.217.139.73 github-cloud.s3.amazonaws.com
  28. 52.216.104.27 github-com.s3.amazonaws.com
  29. 52.217.108.108 github-production-release-asset-2e65be.s3.amazonaws.com
  30. 52.216.142.228 github-production-user-asset-6210df.s3.amazonaws.com
  31. 52.217.81.148 github-production-repository-file-5c1aeb.s3.amazonaws.com
  32. 185.199.108.153 githubstatus.com
  33. 64.71.144.202 github.community
  34. 23.100.27.125 github.dev
  35. 185.199.108.133 media.githubusercontent.com
  36. # Update time: 2021-11-27T12:05:26+08:00
  37. # Update url: https://raw.hellogithub.com/hosts
  38. # Star me: https://github.com/521xueweihan/GitHub520
  39. # GitHub520 Host End

保存后回到终端:

sudo rcnscd restart

 或

sudo systemctl restart NetworkManager

部分内容引用:Github访问加速,超稳定_aosiweixin的博客-CSDN博客_github最新dns

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/781148
推荐阅读
相关标签
  

闽ICP备14008679号