Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

network - mdns-scan

Discover mDNS/DNS-SD services on the local network.

Usage

iottack network mdns-scan [OPTIONS]

Description

Browses the local network for mDNS/DNS-SD service announcements and reports resolved instances with hostname, IP address, port, and TXT records.

All service types are queried in parallel. Each query sends a probe every second until the timeout expires. Insecure protocols are flagged at higher severity:

Service typeLabelSeverity
_telnet._tcp.localTelnetHigh
_ftp._tcp.localFTPMedium
_http._tcp.localHTTPLow
_https._tcp.localHTTPSInfo
_ssh._tcp.localSSHInfo
_mqtt._tcp.localMQTTInfo
_coap._udp.localCoAPInfo
_hap._tcp.localHomeKit (HAP)Info
_matter._tcp.localMatterInfo
_googlecast._tcp.localChromecastInfo

Options

FlagShortDefaultDescription
--timeout-secs <SECS>-t5Seconds to listen for responses
--output <FILE>-o-Save result to a file
--format <FORMAT>-ftexttext or json
--verbose-v-Increase log verbosity

Example

$ iottack network mdns-scan --timeout-secs 10

Plugin name:    network/mdns-scan
Execution time: 10.01 s
Status:         pass
Date:           2026-10-17 00:00:00 UTC

HTTP: mydevice.local
  Host: mydevice.local | Address: 192.168.1.42 | Port: 80

SSH: printer.local
  Host: printer.local | Address: 192.168.1.55 | Port: 22