HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

avahi-browse — Display services and hosts exposed on the local network via mDNS/DNS-SD. Avahi is compatible with Bo

Submitted by: @import:tldr-pages··
0
Viewed 0 times
avahi-browsecommandexposedservicesandclihostsdisplay
linux

Problem

How to use the avahi-browse command: Display services and hosts exposed on the local network via mDNS/DNS-SD. Avahi is compatible with Bonjour (Zeroconf) found in Apple devices. More information: <https://manned.org/avahi-browse>.

Solution

avahi-browse — Display services and hosts exposed on the local network via mDNS/DNS-SD. Avahi is compatible with Bonjour (Zeroconf) found in Apple devices. More information: <https://manned.org/avahi-browse>.

List services available on the local network along with their addresses and ports, ignoring ones on the local machine:
avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}


Quickly list services in the local network in SSV format for scripts:
avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}


List domains in the neighbourhood:
avahi-browse {{[-D|--browse-domains]}}


Limit the search to a particular domain:
avahi-browse {{[-a|--all]}} --domain={{domain}}

Code Snippets

List services available on the local network along with their addresses and ports, ignoring ones on the local machine

avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}

Quickly list services in the local network in SSV format for scripts

avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}

List domains in the neighbourhood

avahi-browse {{[-D|--browse-domains]}}

Limit the search to a particular domain

avahi-browse {{[-a|--all]}} --domain={{domain}}

Context

tldr-pages: linux/avahi-browse

Revisions (0)

No revisions yet.