2021年10月23日

ubuntu18.04 netplan 设置dns,dns不生效

摘要: ubuntu18.04通过netplan设置DNS,而查看DNS时发现DNS并没生效,其原因是系统指向的问题。 以下是解决步骤: 1.编辑netplan下的yaml文件 2.重启网络 netplan apply 3.删除原resolv.conf, rm -rf /etc/resolv.conf 4. 阅读全文

posted @ 2021-10-23 19:21 进击的davis 阅读(2573) 评论(0) 推荐(0) 编辑

导航