05-修改hosts优化github访问

1、写在前面

国内访问gitgub确实慢,有一个开源框架貌似可以解决这个问题,让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。
1)hellogithub地址:https://hellogithub.com
2)github项目地址:https://github.com/521xueweihan/GitHub520


2、核心操作

  • 配置host文件
  • 刷新DNS

3、操作记录

3.1、配置host文件[上面内容会自动定时更新,保证最新有效。数据更新时间:2020-06-18T20:11:11+08:00(内容无变动不会更新)]

# GitHub520 Host Start
185.199.108.154               github.githubassets.com
199.232.68.133                camo.githubusercontent.com
199.232.68.133                github.map.fastly.net
199.232.69.194                github.global.ssl.fastly.net
140.82.114.4                  github.com
140.82.114.5                  api.github.com
199.232.68.133                raw.githubusercontent.com
199.232.68.133                user-images.githubusercontent.com
199.232.68.133                favicons.githubusercontent.com
199.232.68.133                avatars5.githubusercontent.com
199.232.68.133                avatars4.githubusercontent.com
199.232.68.133                avatars3.githubusercontent.com
199.232.68.133                avatars2.githubusercontent.com
199.232.68.133                avatars1.githubusercontent.com
199.232.68.133                avatars0.githubusercontent.com
# Star me GitHub url: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End

3.2、刷新DNS

Windows:在 CMD 窗口输入:ipconfig /flushdns

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值