Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cmd or PowerShell equivalent to macOS' dns-sd command?

On macOS (and Linux using Avahi), you have access to dns-sd, a command that lets you discover and announce services on your local network.

I know that Windows 10 and 11 have native support for Bonjour/mDNS, but I haven't found any way to access the service using the command line. Is there an equivalent to dns-sd on Windows?

like image 597
Leo Bernard Avatar asked Jun 23 '26 01:06

Leo Bernard


1 Answers

Quite a bit more limited than dns-sd, but can be used for discovery (i.e. a combination of the -B, -L and -G operations in dns-sd):

https://github.com/microsoft/FindDevice

You can download a zip with the exe and its gazillion libraries (I'm really not convinced all of those are actually needed). No install required (just extract the zip or copy the already unzipped folder), runs as a regular user.

You will however need admin rights to open the firewall.

like image 63
jcaron Avatar answered Jun 25 '26 20:06

jcaron