解决github速度慢和图片不显示的问题

1.打开Dns检测|Dns查询 - 站长工具

2.在检测输入栏中输入github.com



3.打开host文件,地址 c:\windows\system32\drivers\etc
把检测列表里的TTL值最小的IP输入到hosts里,并对应写上域名github.com

4.重复以上步骤,查找其他域名

示例代码:

# GitHub Start 
192.30.255.112 github.com
104.244.46.185 github.global.ssl.fastly.net
185.199.108.133    raw.githubusercontent.com
185.199.108.133    gist.githubusercontent.com
185.199.108.133    cloud.githubusercontent.com
185.199.108.133    camo.githubusercontent.com
185.199.108.133    avatars.githubusercontent.com
185.199.108.133    avatars0.githubusercontent.com
185.199.108.133    avatars1.githubusercontent.com
185.199.108.133    avatars2.githubusercontent.com
185.199.108.133    avatars3.githubusercontent.com
185.199.108.133    avatars4.githubusercontent.com
185.199.108.133    avatars5.githubusercontent.com
185.199.108.133    avatars6.githubusercontent.com
185.199.108.133    avatars7.githubusercontent.com
185.199.108.133    avatars8.githubusercontent.com
# GitHub End

你可能感兴趣的:(解决github速度慢和图片不显示的问题)