1、sudo vim /etc/resolv.conf 这时可以看到只有一个 nameserver 127.0.0.53 (这个是不可用的),如果临时使用,可以在后面再配置一项DNS 2、nameserver 114.114.114.114 即可使用。