My understanding is that dig
does not support mDNS.
The most common way to use it via avahi-browse
and avahi-daemon
(mDNS service).
https://askubuntu.com/a/1526875
The following failes for me:
dig "pihole-s5.local" @224.0.0.251 -p 5353
The following works for me:
$getent hosts pihole-s5.local
192.168.2.10 pihole-s5.local
I don’t know
Void-musl
.I don’t know if you can install
libnss-mdns
. If/etc/nsswitch.conf
is not standard you also need to configure it.Are you able to setup VM with Debian, so you can test with a standard environment?