update readme

This commit is contained in:
Asim Aslam 2018-12-01 23:02:27 +00:00
parent 97dbada439
commit 9ff06210ab

View File

@ -1,13 +1,20 @@
# MDNS [![GoDoc](https://godoc.org/github.com/micro/mdns?status.svg)](https://godoc.org/github.com/micro/mdns) # MDNS [![GoDoc](https://godoc.org/github.com/micro/mdns?status.svg)](https://godoc.org/github.com/micro/mdns)
Simple mDNS client/server library in Golang. mDNS or Multicast DNS can be MDNS is a simple mdns client/server library by Hashicorp.
used to discover services on the local network without the use of an authoritative
We maintain a fork with updates for PRs and issues they have not merged or addressed.
## Overview
MDNS or Multicast DNS can be used to discover services on the local network without the use of an authoritative
DNS server. This enables peer-to-peer discovery. It is important to note that many DNS server. This enables peer-to-peer discovery. It is important to note that many
networks restrict the use of multicasting, which prevents mDNS from functioning. networks restrict the use of multicasting, which prevents mDNS from functioning.
Notably, multicast cannot be used in any sort of cloud, or shared infrastructure Notably, multicast cannot be used in any sort of cloud, or shared infrastructure
environment. However it works well in most office, home, or private infrastructure environment. However it works well in most office, home, or private infrastructure
environments. environments.
## Usage
Using the library is very simple, here is an example of publishing a service entry: Using the library is very simple, here is an example of publishing a service entry:
``` ```