On Tue 25 Jan 2022 at 09:31:57 +0100, Andrei POPESCU wrote: > On Lu, 24 ian 22, 23:54:41, Brian wrote: > > > > Resolving hostnames on the local network is simple and reliable when > > avahi-daemon and linnss-mdns are available. > > > > brian@desktop:~$ getent hosts envy4500.local > > 192.168.7.235 envy4500.local > > > > Continually and nanually maintain /etc/hosts? Not in 2022! > > Ok, I'll bite :) > > Could you point to any (reasonably up-to-date) documentation or is it > sufficient to just install avahi-daemon and libnss-mdns?
'apt install avahi-daemon' is sufficient. libnnss-mdns is a recommended package of avahi-daemon. Machines with cups installed will already have both packages. Documentation is at https://www.avahi.org/ https://github.com/lathiat/nss-mdns and in /usr/share/doc. > Can mDNS resolve only hostnames or is it necessary to always mention the > '.local' domain? .local is required. -- Brian.