由于ubuntu 12.04之后版本系统,DNS文件由resolvconf模块接管。直接修改/etc/resolv.conf文件不生效,重启后会还原,导致域名解析会出现问题。 一般教程解决办法是卸除resolvconf模块。 卸除方法: apt-get remove resolvconf 但是博主进行卸载时,会提示找不到该包: root@VM-9098:~# apt-get remove resolvconf Reading package lists... ...
最近更新文章
-
更新时间: 17 天前
-
更新时间: 2023-02-15
-
更新时间: 2023-02-14
-
Centos6&Centos7下rpm升级OpenSSH到openssh-9.2p1版本
更新时间: 2023-02-14
-
整理Linux默认源,包括CentOS、Debian、Ubuntu众多版本
更新时间: 2023-01-16