2020-04-06 13:00:20 +02:00
|
|
|
# avahi-browse
|
|
|
|
|
2024-04-18 06:04:00 +02:00
|
|
|
> Display services and hosts exposed on the local network via mDNS/DNS-SD.
|
2020-04-06 13:00:20 +02:00
|
|
|
> Avahi is compatible with Bonjour (Zeroconf) found in Apple devices.
|
|
|
|
> More information: <https://www.avahi.org/>.
|
|
|
|
|
2023-05-09 03:34:18 +02:00
|
|
|
- List services available on the local network along with their addresses and ports, ignoring ones on the local machine:
|
2020-04-06 13:00:20 +02:00
|
|
|
|
2025-03-25 11:43:32 +02:00
|
|
|
`avahi-browse {{[-a|--all]}} {{[-r|--resolve]}} {{[-l|--ignore-local]}}`
|
2020-04-06 13:00:20 +02:00
|
|
|
|
2023-05-09 03:34:18 +02:00
|
|
|
- Quickly list services in the local network in SSV format for scripts:
|
|
|
|
|
2025-03-25 11:43:32 +02:00
|
|
|
`avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}`
|
2023-05-09 03:34:18 +02:00
|
|
|
|
|
|
|
- List domains in the neighbourhood:
|
2020-04-06 13:00:20 +02:00
|
|
|
|
2025-03-25 11:43:32 +02:00
|
|
|
`avahi-browse {{[-D|--browse-domains]}}`
|
2020-04-15 17:39:24 +01:00
|
|
|
|
|
|
|
- Limit the search to a particular domain:
|
|
|
|
|
2025-03-25 11:43:32 +02:00
|
|
|
`avahi-browse {{[-a|--all]}} --domain={{domain}}`
|