提高GitHub访问速度
1.查询DNS,http://tool.chinaz.com/dns/
2.在检测输入栏中输入https://github.com/
3.把检测列表里的 TTL 值最小的 IP 输入到 hosts 里,并对应写在 GitHub 官网域名
例如:
13.229.188.58 github.com
140.82.112.1 www.github.com
hosts路径:前往/private/etc/hosts
刷新DNS:dscacheutil -flushcache
网友评论