在 ubuntu 中,有两种提供 dns 缓存和配置功能的解决方案。一种是 resolvconf.service(resolvconf 包的一部分)。另一个是 systemd-resolved.service (systemd 包的一部分)。在某些情况下,一种解决方案会被激活,而在某些情况下,另一种解决方案则会被激活。这两种解决方案都是ubuntu系统核心的一部分。smbd知道为什么会这样吗?
networking dns resolvconf systemd-resolved
dns ×1
networking ×1
resolvconf ×1
systemd-resolved ×1