Ubuntu18.04 永久修改DNS

2021-03-22 17:48 Ubuntu18.04 永久修改DNS已关闭评论

1.编辑/etc/systemd/resolved.conf

sudo vi /etc/systemd/resolved.conf

2.重启systemd-resolved生效

service systemd-resolved restart

示例:

resolved

版权声明:本文著作权归原作者所有,欢迎分享,谢谢支持!
转载请保留注明:Ubuntu18.04 永久修改DNS | DPIP知识库
分类:Ubuntu 标签:

评论已关闭!