Ubuntu18.04 永久修改DNS的方法
1.编辑/etc/systemd/resolved.conf
sudo vi /etc/systemd/resolved.conf
2.重启systemd-resolved生效
service systemd-resolved restart
示例:
建议阅读
- Windows系统开始后一直是蓝色背景屏幕(非蓝屏crash)的解决方案(查看: 8804)
- shell中too many arguments错误的解决方法(查看: 1517)
- 输出主IP(查看: 1001)
- Centos使用firewall封攻击IP IP段(查看: 1894)
- Windows11启用电脑开机自动登录(查看: 301)