← 返回命令列表

Linux command

mdns-scanner 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Scan the local network

mdns-scanner

说明

mdns-scanner is a terminal UI application that scans the local network for active hosts and resolves their IP addresses to multicast DNS (mDNS) hostnames or DNS-SD service instances. It enumerates non-loopback network interfaces, performs ARP/ICMP-based host discovery, then issues mDNS queries on the 224.0.0.251 (IPv4) and ff02::fb (IPv6) link-local multicast groups on UDP port 5353. The TUI displays discovered hosts in a navigable list with their IP addresses and any resolved **\*.local** hostnames or service records, making it useful for finding printers, Chromecasts, Apple devices, HomeKit accessories, and other Bonjour/Avahi-aware hardware on a LAN.

FAQ

What is the mdns-scanner command used for?

mdns-scanner is a terminal UI application that scans the local network for active hosts and resolves their IP addresses to multicast DNS (mDNS) hostnames or DNS-SD service instances. It enumerates non-loopback network interfaces, performs ARP/ICMP-based host discovery, then issues mDNS queries on the 224.0.0.251 (IPv4) and ff02::fb (IPv6) link-local multicast groups on UDP port 5353. The TUI displays discovered hosts in a navigable list with their IP addresses and any resolved **\*.local** hostnames or service records, making it useful for finding printers, Chromecasts, Apple devices, HomeKit accessories, and other Bonjour/Avahi-aware hardware on a LAN.

How do I run a basic mdns-scanner example?

Run `mdns-scanner` in a terminal, then adjust file names, paths, flags, or remote targets for your system.