I want to use Avahi for the mDns solution for local hostname resolution, but after installation, I got the error from syslog. my OpenWrt version is 23.05.2,
"WARNING: No NSS support for mDNS detected, consider installing nss-mdns!"
When I tried to install other mdns packages following the information, I got the message of conflict between mdnsd,mdnsresponder with Avahi, Could anybody help to resolve this? thanks in advance.
mdns and avahi are two different implementations of (roughly) the same functionality, you can only install/ use one at a time - either mdns, XOR
avahi.
thanks for your reply, but my log always shows the error info, which is noising.
Try removing both of them, then re-installing one of them.
or...
reset to defaults and install just one.
i saw this issue on github too
tried building nss-mdns version 0.15.1 and 0.10 in musl but I'm not sure it will run well
even alpine doesn't have nss-mdns
root@OpenWrt:~/nss# ldd libnss_mdns.so.2
ldd (0x7f97b4b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f97af9000)
libc.so => ldd (0x7f97b4b000)