想运行这个命令
sudo curl -L https://raw.githubusercontent.com/will8 ... imatrix.py -o /usr/local/bin/unimatrix
sudo chmod a+rx /usr/local/bin/unimatrix
结果显示
raw.githubusercontent.com 解析为0.0.0.0
connection refused
一开始我还以为是代理问题结果不是,
是dns解析问题
请问如何解决?
无法下载raw.githubusercontent.com文件
-
- 帖子: 353
- 注册时间: 2007-06-11 13:06
- astolia
- 论坛版主
- 帖子: 6536
- 注册时间: 2008-09-18 13:11
Re: 无法下载raw.githubusercontent.com文件
墙早就盯上github了。你可以:
1、更换dns服务器。部分地区部分运营商网络没有对它搞dns污染,可以用其他dns服务器获取正确的ip
2、设置使用能安全解析dns的服务,比如doh、dot、dnscrypt等等
3、让curl通过代理下载
1、更换dns服务器。部分地区部分运营商网络没有对它搞dns污染,可以用其他dns服务器获取正确的ip
2、设置使用能安全解析dns的服务,比如doh、dot、dnscrypt等等
3、让curl通过代理下载