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