[日常] 解决github速度特别慢

执行下面这俩命令,找到对应的IP,增加host就能解决

nslookup github.global.ssl.fastly.Net
nslookup github.com

root@tao-PC:/var/www/html/go-project/test# nslookup github.global.ssl.fastly.Net
Server: 124.207.160.106
Address: 124.207.160.106#53

Non-authoritative answer:
Name: github.global.ssl.fastly.Net
Address: 66.220.146.94

root@tao-PC:/var/www/html/go-project/test# nslookup github.com
Server: 124.207.160.106
Address: 124.207.160.106#53

Non-authoritative answer:
Name: github.com
Address: 13.229.188.59

找到下面的IP
Non-authoritative answer:

修改host为下面下面的ip
13.229.188.59 github.com
66.220.146.94 github.global.ssl.fastly.net

重启刷新DNS
/etc/init.d/networking restart

posted @   唯一客服系统开发笔记  阅读(825)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2018-11-21 [PHP] 理解依赖注入
2018-11-21 [日常]总结2016年7月入职至2016年7月26号微盘所遇bug
点击右上角即可分享
微信分享提示
1
chat with us