系统:Ubuntu16
使用终端命令git clone时速度特别慢,解决方法如下:
安装dnsutils:sudo apt-get install dnsutils(已安装请忽略)
终端命令:nslook global.ssl.fastly.Net
终端命令:nslook github.com
终端命令:sudo gedit /etc/hosts
将上面查询的内容加入hosts文件
重启网络终端命令:sudo /etc/init.d/networking restart