首页 > 代码库 > Parrot Temporary failure in name resolution

Parrot Temporary failure in name resolution

问题

  • ping www.baidu.com 出现 Resolving www.baidu.com... failed: Temporary failure in name resolution.

  • 尝试root权限下修改 /etc/resolv.conf ,但失败,提示:"resolv.conf" E212: Can‘t open linked file for writing

现场

  • 网络是通的

  • ping ip 是正常的

  • 未对网络设置代理、dns之类操作

解决方案

1, sudo rm /etc/resolv.conf
2, sudo vi /etc/resolv.conf 写入对应的dns地址 我这里写的是

nameserver 202.96.209.133
nameserver 61.129.88.123

3, reboot


本文出自 “时不我待” 博客,请务必保留此出处http://13039510.blog.51cto.com/13029510/1953546

Parrot Temporary failure in name resolution