fasheng
deepin
2014-07-20 04:17 网络连接编辑页面设置的DNS为备用DNS,可以点击 “i”按钮查看已激活连接的具体信息,或者在终端输入 “nm-tool”,若要设置主DNS需要编辑 /etc/resolv.conf
Reply Like 0 View the author
网络连接编辑页面设置的DNS为备用DNS,可以点击 “i”按钮查看已激活连接的具体信息,或者在终端输入 “nm-tool”,若要设置主DNS需要编辑 /etc/resolv.conf
echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolvconf/resolv.conf.d/head
sudo resolvconf -u
cat /etc/resolv.conf
应该编辑 /etc/resolvconf/resolv.conf.d/head,而不是 /etc/resolv.conf
好的,已经记录,会进一步调试。
[quote]好的,已经记录,会进一步调试。
Popular Events
More