# hashicorp/mdns

Simple mDNS client/server library in Golang

Repository: https://github.com/hashicorp/mdns
Canonical: https://ross.abutalabs.com/products/mdns
Language: Go
License: MIT
License Family: permissive
Last push: 2026-08-24T06:25:29+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 56, longevity 100
- inputs: {"age_days": 4599, "days_push": 9, "days_rel": 82, "gap_med": 505, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1372, forks 224 (observed 2026-08-28T04:04:32.311085+00:00)

## What it is
A simple mDNS (Multicast DNS) client and server library written in Go. It enables publishing and discovering services on a local network without an authoritative DNS server, supporting peer-to-peer service discovery.

## Use cases
- discover services on a local network without a DNS server
- publish a service via mDNS so others can find it
- implement zeroconf/Bonjour-style peer-to-peer discovery in Go
- find hosts running a specific service type like _foobar._tcp
- build local network device discovery for IoT or home networks

## When to choose
- you need lightweight mDNS service discovery in a Go application
- you are building tools for office, home, or private infrastructure networks where multicast works
- you want a minimal, MIT-licensed library rather than a full zeroconf stack

## When to avoid
- your application runs in cloud or shared infrastructure environments where multicast is blocked
- you need full DNS-SD features or cross-language support beyond Go
- you need active development and frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: networking, service-discovery, sdk
- domain: networking, developer-tools, microservices
- platform: go, cross-platform
- tags: mdns, multicast-dns, zeroconf, bonjour, service-discovery, peer-to-peer

## Member repositories
- hashicorp/mdns (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:32.311085+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:46.279794+00:00, confidence not recorded.
  - readme: https://github.com/hashicorp/mdns (fetched 2026-08-28T04:04:32.311085+00:00, sha b4d9ea6dbf0d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
