Multicast DNS (mDNS)

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
jan2000
Posts: 4
Joined: Tue Feb 14, 2017 11:57 am

Multicast DNS (mDNS)

Post by jan2000 » Wed Feb 15, 2017 9:29 am

An implementation of mDNS would really be helpfull! A fixed IP or having to configure the router's DHCP are not always the best solutions - and in those cases mDNS has worked very well in the Arduino core for ESP8266 https://github.com/esp8266/Arduino/tree ... SP8266mDNS

jacobsayles
Posts: 1
Joined: Tue Feb 13, 2018 6:05 pm

Re: Multicast DNS (mDNS)

Post by jacobsayles » Tue Feb 13, 2018 6:07 pm

I'm looking for the same thing and now it's a year after your post. Anyone have some tips on other ways to not hardcode the IP address in our code?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Multicast DNS (mDNS)

Post by pythoncoder » Wed Feb 14, 2018 10:59 am

Peter Hinch
Index to my micropython libraries.

vaudric
Posts: 1
Joined: Sun May 30, 2021 8:52 pm

Re: Multicast DNS (mDNS)

Post by vaudric » Sun May 30, 2021 9:02 pm

Thanks all for the tips...

I got it to work with asyncio mDNS+Webserver. It's not pretty but it's doing the trick and running well on ESP8266.
See github

Again thanks to all of you experts for your time putting phenomenal content on this forum!

Post Reply