#tui #networking #mdns #scanner #dns #content

app mdns-scanner

Scan a network and create a list of IPs and associated hostnames, including mDNS hostnames and other aliases

11 releases (7 breaking)

Uses new Rust 2024

new 0.9.1 May 4, 2025
0.8.0 May 3, 2025

#327 in Network programming

Download history 172/week @ 2025-04-12 284/week @ 2025-04-19 293/week @ 2025-04-26

749 downloads per month

MIT/Apache

115KB
2.5K SLoC

Table of Contents↗️

MDNS Scanner

mdns-scanner

WindowsLinuxmacOS

Purpose

Scan a network and create a list of IPs and associated hostnames, including DNS-SD service instances, mDNS hostnames and other aliases.

Demo

[!NOTE] The DNS-SD services are resolved at the end of the gif, about 30 seconds in.

demo

Install

Prebuilt binaries

Prebuilt binaries for Linux, MacOS, and Windows can be found on the releases page.

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/CramBL/mdns-scanner/trunk/scripts/install.sh \
    | bash -s -- --to ~/bin

With cargo

cargo install mdns-scanner

Quickstart

Simply run it.

mdns-scanner will start scanning any non-loopback network interfaces for IPs with a host on the other end, and resolve the hostnames for those IPs.

[!TIP] Inform your resident sys admin that you're about to run hundreds of IP scans per second.

Runtime dependencies

Windows

Npcap

Unix

None.

Architecture

architecture

Dependencies

~16–27MB
~419K SLoC