小编Tos*_*rek的帖子

resolvconf、systemd-resolve 和 avahi 有什么区别?

我目前正在从事一个需要进行一些 DNS 故障排除的项目,但是我对美妙的网络世界还很陌生,并且对从哪里开始有点茫然。我的具体问题可能属于 RaspberryPi StackExchange,因此我将避免交叉发布。只是在这里寻找信息。

寻找信息,我被引导到resolv.conf(5)文件resolvconf(8)systemd-resolve(1), 和avahi似乎是的野兽。

我的带有 Raspbian Buster 的 Raspi 似乎avahi-daemon正在运行。我的 Ubuntu 18.04.4 LTS 有systemd-resolvedAND avahi-daemon。并resolvconf(8)协调两个(手册页仅在Ubuntu)?何时/etc/resolv.conf使用/忽略?

在 Ubuntu 上:

$ cat /etc/resolv.conf

# 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
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about …
Run Code Online (Sandbox Code Playgroud)

dns avahi resolvconf resolv.conf systemd-resolved

5
推荐指数
1
解决办法
4057
查看次数

标签 统计

avahi ×1

dns ×1

resolv.conf ×1

resolvconf ×1

systemd-resolved ×1