如何加速国内Github访问

如何加速国内Github访问

· json · rss
Subscribe:

About


如何加速国内Github访问


 


1 获取GitHub官方CDN地址


打开https://www.ipaddress.com/




查询以下三个链接的DNS解析地址




HK LH LIB:


140.82.113.3 github.com


185.199.110.153 assets-cdn.github.com


185.199.111.153 assets-cdn.github.com


185.199.109.153 assets-cdn.github.com


185.199.108.153 assets-cdn.github.com


146.75.9.194 github.global.ssl.fastly.net


104.16.132.229 cloudflare.com


104.16.133.229 cloudflare.com


2606:4700::6810:84e5 cloudflare.com


2606:4700::6810:85e5 cloudflare.com




HK LIB:


140.82.114.3 github.com




185.199.109.153 assets-cdn.github.com


185.199.111.153 assets-cdn.github.com


185.199.108.153 assets-cdn.github.com


2606:50c0:8001::153 assets-cdn.github.com


2606:50c0:8000::153 assets-cdn.github.com


2606:50c0:8003::153 assets-cdn.github.com


2606:50c0:8002::153 assets-cdn.github.com




199.232.69.194 github.global.ssl.fastly.net




185.199.109.153 github.github.io


185.199.111.153 github.github.io


185.199.108.153 github.github.io


2606:50c0:8001::153 github.github.io


2606:50c0:8000::153 github.github.io


2606:50c0:8003::153 github.github.io


2606:50c0:8002::153 github.github.io




140.82.114.3 doc.github.com




104.17.111.184 dash.cloudflare.com


104.17.110.184 dash.cloudflare.com


104.17.111.184 cloudflare.com


104.17.110.184 cloudflare.com






2 修改系统Hosts文件


打开系统hosts文件(需管理员权限)。


路径:C:WindowsSystem32driversetc




在末尾添加三行记录并保存。(需管理员权限,注意IP地址与域名间需留有空格)






3 刷新系统DNS缓存


Windows+X 打开系统命令行(管理员身份)或powershell




运行 ipconfig /flushdns 手动刷新系统DNS缓存。