Files
tldr/pages.zh/linux/avahi-browse.md
2021-08-31 15:13:49 +08:00

18 lines
483 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# avahi-browse
> 显示通过 mDNS/DNS-SD 暴露在本地网络的服务和主机。
> Avahi 与苹果设备的 BonjourZeroconf兼容。
> 更多信息:<https://www.avahi.org/>.
- 列出本地网络中的所有服务和他们的地址与端口,忽略他们本地的地址和端口:
`avahi-browse --all --resolve --ignore-local`
- 列出所有的域名:
`avahi-browse --browse-domains`
- 只搜索一个特定的域名:
`avahi-browse --all --domain={{domain}}`