Github不稳定的解决办法
原文链接:https://www.jianshu.com/p/34b2e8fdb45e
1:打开DNS查询工具:http://tool.chinaz.com/dns
![](https://upload-images.jianshu.io/upload_images/2074702-decdfb2bf93d7290.png?imageMogr2/auto-orient/strip|imageView2/2/w/877/format/webp)
网站截图
2:选择TTL值最低的那个,如果当前列表没有符合要求的IP,重新检测。
3:使用Win + R 组合键,在运行对话框里,复制并粘贴:C:\WINDOWS\system32\drivers\etc
![](http://upload-images.jianshu.io/upload_images/2074702-dc2ac4f02fe1a698.png?imageMogr2/auto-orient/strip|imageView2/2/w/435/format/webp)
网站截图
4:打开以后,选择HOSTS文件。
![](http://upload-images.jianshu.io/upload_images/2074702-624eafc9d1e4ebc8.png?imageMogr2/auto-orient/strip|imageView2/2/w/662/format/webp)
网站截图
5:把刚才复制的IP地址,复制到这个文件里,格式如下:
# GitHub Start
// 你复制的IP地址
#52.192.72.89 https://github.com
# GitHub End
6:重新刷新,登入github.com