Open phrrngtn opened 2 years ago
worth noting that in order to get mDNS working at all, one needs to have libnss_mdns
installed.
xref https://salsa.debian.org/debian/nss-mdns
libnss_mdns{4,6,}_minimal.so (new in version 0.8) is mostly
identical to the versions without _minimal. However, they differ in
one way. The minimal versions will always deny to resolve host names
that don't end in .local or addresses that aren't in the range
169.254.x.x (the range used by
IPV4LL/APIPA/RFC3927.)
Combining the _minimal and the normal NSS modules allows us to make
mDNS authoritative for Zeroconf host names and addresses (and thus
creating no extra burden on DNS servers with always failing requests)
and use it as fallback for everything else.
the recipe on how to do this with docker is described here: https://github.com/monstrenyatko/docker-mdns-repeater
mdns-repeater is a Multicast DNS (mDNS) repeater for Linux.
This program is an application level gateway which re-broadcasts mDNS packets received on one interface to other
interfaces.
Since mDNS is "administratively scoped" such a gateway is required when mDNS resolutions should work across subnet
borders.
Want to logically distribute services