MDNS_Generic

mDNS Library for nRF52, SAMD21, SAMD51, SAM DUE, STM32F/L/H/G/WB/MP1, AVR Mega, etc. boards using Ethernet W5x00. Supports mDNS (Registering Services) and DNS-SD (Service Discovery)
ORIGINAL POST
By Khoi Hoang
components
Hardware Components
Arduino
X 1
Ethernet Shield
X 1
details

MDNS_Generic.JPG

Why do we need this MDNS_Generic library

MDNS (Multicast DNS) is a protocol to resolve hostnames to IP addresses within small networks that do not include a local name server. It is a zero-configuration service, using essentially the same programming interfaces, packet formats and operating semantics as the unicast Domain Name System (DNS).

The mDNS protocol, published as RFC 6762, uses IP multicast User Datagram Protocol (UDP) packets, and is implemented by the Apple Bonjour and open source Avahi software packages.

mDNS can work in conjunction with DNS Service Discovery (DNS-SD), a companion zero-configuration networking technique specified separately in RFC 6763.

This MDNS_Generic library is based on and modified from Dario Pennisi’s ArduinoMDNS Library to provide support to many more boards, such as Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, AVR Mega, etc. and enable those boards to use MDNS services. The currently supported modules/shield is W5x00 using Ethernet or EthernetLarge library. The WiFiNINA, ENC28J60 and LAN8742A Ethernet modules/shields are not yet supported as library modifications are needed.

MDNS_Generic.JPG

Why do we need this MDNS_Generic library

MDNS (Multicast DNS) is a protocol to resolve hostnames to IP addresses within small networks that do not include a local name server. It is a zero-configuration service, using essentially the same programming interfaces, packet formats and operating semantics as the unicast Domain Name System (DNS).

The mDNS protocol, published as RFC 6762, uses IP multicast User Datagram Protocol (UDP) packets, and is implemented by the Apple Bonjour and open source Avahi software packages.

mDNS can work in conjunction with DNS Service Discovery (DNS-SD), a companion zero-configuration networking technique specified separately in RFC 6763.

This MDNS_Generic library is based on and modified from Dario Pennisi’s ArduinoMDNS Library to provide support to many more boards, such as Arduino SAMD21, Adafruit SAMD21/SAMD51, Seeeduino SAMD21/SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, AVR Mega, etc. and enable those boards to use MDNS services. The currently supported modules/shield is W5x00 using Ethernet or EthernetLarge library. The WiFiNINA, ENC28J60 and LAN8742A Ethernet modules/shields are not yet supported as library modifications are needed.

documents
Code
Github

COMMENTS

Please Login to comment
  Subscribe  
Notify of