SwitchHosts 加速 GitHub访问速度

2023-11-18  本文已影响0人  码农工号9527

一、SwitchHosts下载
https://github.com/oldj/SwitchHosts

选择自己想要的版本下载 https://github.com/oldj/SwitchHosts/tags

二、安装
安装在你容易管理的地方


新增、修改无权限的话,编辑C:\Windows\System32\drivers\etc\hosts属性修改当前电脑登录用户控制权限

三、新增hosts配置

  1. 站长工具/ping.eu网站,搜索github.com,github.global.ssl.fastly.net,raw.githubusercontent.com的最新ip
  2. 在SwithchHosts中修改对应ip及网址
    如下:
20.205.243.166 github.com
103.252.114.61 github.global.ssl.fastly.net
185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com

不管用的话就刷新缓存 cmd窗口ipconfig /displaydns

参考文章:https://blog.csdn.net/djs_snowyyy/article/details/131909544

上一篇 下一篇

猜你喜欢

热点阅读