Link Search Menu Expand Document

mDNS Cheat Sheet

Avahi Discovery

avahi-browse -v -t -r --all
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
driverless

nsswitch.conf

In /etc/nsswitch.conf you can use mdns4 and mdns4_minimal with the latter only resolving .local addresses.

Typical configuration:

hosts: files mdns4_minimal [NOTFOUND=return] dns

To resolve non-local mDNS also:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4