1. vi /etc/resolv.conf 2. nameserver 192.168.0.1 转载于:https://www.cnblogs.com/yanmantianxia/p/10901221.html