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
749 downloads per month
115KB
2.5K
SLoC
MDNS Scanner
mdns-scanner
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.
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
Unix
None.
Architecture
Dependencies
~16–27MB
~419K SLoC