作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想在 Ubuntu 16.04 中永久禁用 resolvconf。
现在我的/etc/network/interfaces 包含
auto eth0
iface eth0 inet static
address 192.168.43.175
netmask 255.255.255.0
network 192.168.43.0
broadcast 192.168.43.255
gateway 192.168.43.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.43.240
dns-search domain.local
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.43.240
search domain.local
resolvconf --disable-update
最佳答案
~/# systemctl disable systemd-resolved.service
~/# service systemd-resolved stop
dns=default
~/# systemctl restart network-manager
关于ubuntu - 永久禁用 resolvconf,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50763604/
我想在 Ubuntu 16.04 中永久禁用 resolvconf。 现在我的/etc/network/interfaces 包含 auto eth0 iface eth0 inet static
我正在尝试做什么 我使用 Consul 进行 dns,并使用 dnsmasq 作为代理 ( https://www.consul.io/docs/guides/forwarding.html )。 除
我是一名优秀的程序员,十分优秀!