A simple mDNS client/server library in Go for local network service discovery without a DNS server.
mdns is a Go library that implements the mDNS (Multicast DNS) protocol for local network service discovery. It allows applications to advertise and discover services without needing a traditional DNS server, enabling peer-to-peer networking in supported environments.
Go developers building applications that require local network service discovery, such as IoT devices, home automation systems, or office network tools.
Developers choose mdns for its simplicity, clean API, and lightweight implementation, making it easy to integrate mDNS functionality into Go applications without complex dependencies.
Simple mDNS client/server library in Golang
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The library offers a clean interface with minimal code, as demonstrated in the README examples where publishing and looking up services require just a few lines.
Focuses on simplicity without unnecessary dependencies, making it easy to integrate into Go applications for local network discovery.
Enables direct service advertising and lookup without a centralized DNS server, ideal for environments like home automation or IoT where multicast is supported.
As the README admits, multicast is unsupported in cloud or shared infrastructure environments, severely limiting deployment options.
It's specific to Go, so teams using multiple languages or needing cross-platform libraries must look elsewhere.
The focus on simplicity means it may lack advanced mDNS features, error handling, or customization found in more comprehensive solutions.