temporary failure in name resolution ubuntu 错误解决

遇到链接某个地址,不能解析域名,报错如题。
具体报错信息:
在这里插入图片描述

首先可以根据google的结果去进行验证下。其次,如果一直域名的ip,可以直接在/etc/hosts文件最后加一行

比如:

8.131.136.138 rm-2ze0y5kspbucp6oapqo.mysql.rds.aliyuncs.com

猜你喜欢

转载自blog.csdn.net/ZauberC/article/details/129406925