avahi在RHEL 7服务器上的作用是什么?
在CentOS 7上运行服务器计算机,我注意到avahi服务默认是运行的。 我有点想知道它的目的是什么。 (在我的环境中)似乎要做的一件事是随机禁用IPv6连接,在日志中如下所示: Oct 20 12:23:29 example.org avahi-daemon[779]: Withdrawing address record for fd00::1:2:3:4 on eno1 Oct 20 12:23:30 example.org Withdrawing address record for 2001:1:2:3:4:5:6:7 Oct 20 12:23:30 example.org Registering new address record for fe80::1:2:3:4 on eno1.*. (后缀1:2:3...组成) 确实,此后2001:1:2:3:4:5:6:7不再可以访问公共IPv6地址。 因此,我通过以下方式禁用了avahi服务: # systemctl disable avahi-daemon.socket avahi-daemon.service # systemctl mask avahi-daemon.socket avahi-daemon.service …