mdns-scanner

Crates.iomdns-scanner
lib.rsmdns-scanner
version0.10.1
created_at2025-04-13 20:14:22.221585+00
updated_at2025-06-17 15:12:08.552212+00
descriptionScan a network and create a list of IPs and associated hostnames, including mDNS hostnames and other aliases.
homepagehttps://github.com/CramBL/mdns-scanner
repositoryhttps://github.com/CramBL/mdns-scanner
max_upload_size
id1632113
size325,032
Marc BK (CramBL)

documentation

README

Table of Contents↗️

MDNS Scanner

mdns-scanner

GitHub release CI status codecov
WindowsLinuxmacOS

Purpose

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

!!! IMPORTANT !!!

Since v0.10.0 MDNS scanner is no longer published on crates.io due to its dependency on unpublished crates.

Instead you can find the latest on https://github.com/CramBL/mdns-scanner, along with installation methods.

It is still possible to install it with cargo by specifying the GitHub URL:

cargo install --git https://github.com/CramBL/mdns-scanner mdns-scanner

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

Commit count: 100

cargo fmt