avahi-browse(1)
Browse for mDNS/DNS-SD services available on the local network.
Synopsis
avahi-browse [OPTION]... SERVICE-TYPEDescription
avahi-browse is a command-line tool for discovering services advertised on the local network using Avahi (a system for using mDNS/DNS-SD for zero-configuration networking). It allows you to search for and list services of a specific type, such as HTTP servers, SSH hosts, or printers.
SERVICE-TYPE should be a fully qualified DNS-SD service type, such as _http._tcp or _ssh._tcp. Use avahi-browse -b to browse all available services without specifying a type, or use avahi-browse -r to resolve service details.
Common options
| Flag | What it does |
|---|---|
-a, --all | show all services, regardless of their state (deprecated; use -d instead) |
-b, --browse-domains | browse for available DNS-SD browsing domains instead of services |
-d, --dump-domains | dump a list of all available DNS-SD browsing domains |
-r, --resolve | resolve services to show full details (addresses, ports, TXT records) |
-t, --terminate | terminate after listing all currently available services |
-c, --cache | show cached services instead of monitoring for new ones |
-l, --ignore-local | ignore local services (services not from remote hosts) |
-m, --ignore-markings | ignore special markings (such as preferred/deprecated) in output |
-v, --verbose | enable verbose mode with additional debugging information |
-h, --help | display help message and exit |
Examples
browse for all HTTP services on the local network and monitor for changes
avahi-browse _http._tcplist all currently advertised HTTP services and exit immediately
avahi-browse -t _http._tcpbrowse SSH services with full resolution, showing IP addresses and ports
avahi-browse -r _ssh._tcpbrowse for all available DNS-SD service domains
avahi-browse -blist all available IPP printers with full details and exit
avahi-browse -t -r _ipp._tcpdisplay cached HTTP services without monitoring for updates
avahi-browse -c _http._tcpbrowse for workstations on the network, ignoring local services
avahi-browse -l _workstation._tcp