📜  resolvconf set dns - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:44.038000             🧑  作者: Mango

代码示例1
sudo systemctl disable systemd-resolved.service
sudo gedit /etc/resolvconf/resolv.conf.d/head 
# add
nameserver 8.8.8.8
nameserver 8.8.4.4

sudo resolvconf --enable-updates
sudo resolvconf -u