转载于:https://blog.csdn.net/bowei026/article/details/107106503/
前些天,github.com突然发访问不了,百度了下,按照上述文章的方法解决了。这里把步骤再记录一下
1,站长工具查询DNS
访问 http://tool.chinaz.com/dns/ ,在输入框中填写 github.com,然后点击检测按钮,会列出响应ip

2,修改hosts文件
找到 C:\Windows\System32\drivers\etc\hosts文件,复制一份放到桌面,将列出的响应IP写入该文件末尾。然后替换原文件

3,刷新DNS缓存
在cmd命令行执行 ipconfig /flushdns,刷新DNS缓存

网友评论