1
浏览器打开这个网址 https://www.ipaddress.com/
输入 github.global.ssl.fastly.net 得到一个最快的IP地址,记录下来。
输入 github.com 得到一个最快的IP地址,记录下来。
2
浏览器打开这个网址 http://tool.chinaz.com/dns?type=1&host=github.com&ip=
输入 github.global.ssl.fastly.net 找到TTL值最小的IP记录下来。
输入 github.com 找到TTL值最小的IP记录下来。
在自己电脑上的C:\Windows\System32\drivers\etc 打开hosts
在最下面添加
199.232.69.194 http://github.global.ssl.fastly.net
140.82.114.4 http://github.com
以上两个IP地址是之前记录下来的。
打开电脑cmd命令框,输入ipconfig /flushdns