As the title says... Chat on...

User avatar
By FrankX
#42476 I would like to use mDNS from LUA.
I create builds using nodemcu-build.com.
From the NodeMCU documentation the mDNS functionality is described.
But is seems not to be available from the builds created by nodemcu-build.com.
Calling mdns.register results in attempt to index global 'mdns' (a nil value)

Can anyone explain how to get it in my firmware?
User avatar
By devsaurus
#42544 The mDNS module is already part of the "dev" branch, but not yet selectable in the cloud build service. It'll be added there when the maintainer finds the time, I guess. Until then you'd need to build the firmware natively or with the docker image.
User avatar
By FrankX
#42849
devsaurus wrote:The mDNS module is already part of the "dev" branch, but not yet selectable in the cloud build service. It'll be added there when the maintainer finds the time, I guess. Until then you'd need to build the firmware natively or with the docker image.

mDNS has just been added to the nodemcu-build service: thanks Marcel!
Functionality works perfectly!