github秒联方法

  1. 获取github各服务IP地址

登录:DNS查询 - 在线工具

查询以下域名的IP地址:( https://tool.lu/dns/index.html )

复制代码
#ip             域名                      #注释内容
#-----------------------------------------
20.205.243.166  github.com                    #注释
208.101.21.43   global.ssl.fastly.net         #注释
185.199.111.153 assets-cdn.github.com         #注释
185.199.109.153 assets-cdn.github.com         #注释
185.199.108.153 assets-cdn.github.com         #注释
185.199.110.153 assets-cdn.github.com         #注释
20.205.243.165  codeload.github.com           #注释
199.59.148.201  github.global.ssl.fastly.net  #注释

2.编辑windows 静态域名查询文件hosts
C:\Windows\System32\drivers\etc\hosts

切记不要改变文件的属性

尾部添加内容如下:

复制代码
#注释 github.com
#ip             域名                      #注释内容
20.205.243.166  github.com                    #注释
208.101.21.43   global.ssl.fastly.net         #注释
185.199.111.153 assets-cdn.github.com         #注释
185.199.109.153 assets-cdn.github.com         #注释
185.199.108.153 assets-cdn.github.com         #注释
185.199.110.153 assets-cdn.github.com         #注释
20.205.243.165  codeload.github.com           #注释
199.59.148.201  github.global.ssl.fastly.net  #注释
#注释 github.com end 

3.刷新操作系统DNS解析缓存

windows 运行CMD,启动命令行窗口,运行如下命令:

复制代码
> ipconfig/flushdns
  1. 下载常用工具软件:
    GitHub - lanbao2021/share: 分享蓝同学收集的软件资源、使用心得...
相关推荐
崔庆才丨静觅6 小时前
Claude Code GitHub Actions 使用教程
github·api·claude
砖厂小工1 天前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
程序员鱼皮1 天前
又一个新项目完结,我要出海了!
ai·github·开源项目
徐小夕1 天前
pxcharts-vue:一款专为 Vue3 打造的开源多维表格解决方案
前端·vue.js·github
Moment1 天前
想要长期陪伴你的助理?先从部署一个 OpenClaw 开始 😍😍😍
前端·后端·github
我叫黑大帅1 天前
前端如何利用 GitHub Actions 自动构建并发布到 GitHub Pages?
前端·面试·github
HelloGitHub1 天前
这个年轻的开源项目,想让每个人都能拥有自己的专业级 AI 智能体
开源·github·agent
刘发财2 天前
弃用html2pdf.js,这个html转pdf方案能力是它的几十倍
前端·javascript·github