Temporary failure in name resolution 错误解决方法 运行sudo 命令 can not resovle host xxx


Temporary failure in name resolution 错误解决方法:

vim /etc/resolv.conf
nameserver 114.114.114.114
nameserver 8.8.8.8

运行sudo 命令 can not resovle host xxx 错误解决方法:

vim /etc/hosts
127.0.0.1 localhost
127.0.0.1 <your hostname>



猜你喜欢

转载自blog.csdn.net/zeli1511/article/details/80362632