Ubuntu18.04 永久修改DNS的方法
1.编辑/etc/systemd/resolved.conf
sudo vi /etc/systemd/resolved.conf
2.重启systemd-resolved生效
service systemd-resolved restart
示例:
建议阅读
- Centos 7无法激活网卡的解决办法(new)(查看: 9692)
- Mac安装iftop的步骤(查看: 3653)
- [重要]微软安全漏洞通告修补通告:(查看: 5591)
- screen 命令详解(查看: 938)
- Windows10 提示无法使用内置管理员账户打开某应用解决方法(查看: 391)