需要安装resolvconf包 # sudo apt install resolvconf 然后在/etc/network/interfaces 写入 dns-nameservers 114.114.114.114 8.8.8.8 注意: 多个dns以空格隔开
aYou cannot sign in from your current location due to numerous recent invalid sign-in attempts. Please contact your system administrator. You can try again in a few minutes. 您不可能从您的当前地点签到由于许多最近无效签到企图。 请与您的系统管理员联系。 您能在几分钟再试一次。[translate] ...
ubuntu 在/etc/network/interfaces设置了dns-nameservers x.x.x.x 无效,需要安装resolvconf包#sudoaptinstall resolvconf然后在/etc/network/interfaces写入dns-nameservers114.114.114.1148.8.8.8注意:多个dns以空格隔开