本文为12月第二周网站忘记续费后从webcache里面找回的,丢失图片.
在阿里云环境安装某个软件包时遇到解析错误 Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error”
找到这个介绍 https://developer.aliyun.com/article/767805
mirrors.cloud.aliyuncs.com 这个域名需要阿里云vpc下dns才能解析。
vim /etc/resolv.conf
常规写入以下内容:
options timeout:1 attempts:1 rotate
nameserver 100.100.2.136
nameserver 100.100.2.138
结果发现客户的这2行被注释了:),问题解决。
文章评论