加入内容 nameserver 8.8.8.8 重启即可 #/etc/init.d/resolvconf restart 转载于:https://my.oschina.net/wowlinda/blog/550817