首先注意,在装linux的时候 DNS 不写
解决方法:
# vi /etc/resolv.conf
将nameserver 后面的IP地址改为本机IP地址
例如:nameserver 172.16.2.3