sudo vi /etc/resolv.conf 加入DNS服务器IP(我这里是 202.96.128.166) nameserver 202.96.128.166 保存退出 转载于:https://www.cnblogs.com/piglethao/p/5382552.html