Skip to content

[Question] ESP8266 mDNS: How to advertise on the network? #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
probonopd opened this issue Mar 29, 2015 · 6 comments
Closed

[Question] ESP8266 mDNS: How to advertise on the network? #7

probonopd opened this issue Mar 29, 2015 · 6 comments

Comments

@probonopd
Copy link
Contributor

I would like to use mDNS in order to advertise the web server running on the ESP8266 to the network, so that it is easily found by guests and other devices on the network. How can this be done?

@probonopd probonopd changed the title ESP8266 mDNS: How to advertise on the network? [Question] ESP8266 mDNS: How to advertise on the network? Mar 29, 2015
@igrr
Copy link
Member

igrr commented Mar 29, 2015

I would suggest you to check the example provided with ESP8266mDNS library.

@probonopd
Copy link
Contributor Author

Others seem to have the same issue:

"Also used the App Bonjour Browser, but the ESP is not seen as Bonjour device.
Anyone having success with this example on a Mac?"

http://www.esp8266.com/viewtopic.php?f=29&t=2270

@igrr
Copy link
Member

igrr commented Apr 4, 2015

To be seen as a bonjour service we need to support DNS-SD, not just bare
mDNS. DNS-SD may be implemented on top of mDNS, but I haven't yet done this.
On Apr 4, 2015 20:08, "probonopd" [email protected] wrote:

Others seem to have the same issue:

"Also used the App Bonjour Browser, but the ESP is not seen as Bonjour
device.
Anyone having success with this example on a Mac?"

http://www.esp8266.com/viewtopic.php?f=29&t=2270

Reply to this email directly or view it on GitHub
#7 (comment).

@DangeRuss1313
Copy link

Ivan,

Thanks for this library! I'm excited to be able to incorporate the ESP in my projects. I encountered the same issue with mDNS not working completely. I'm still familiarizing myself with the differences between mDNS and DNS-SD. How much work is involved with implementing DNS-SD to allow the example to work as described with esp8266.local? Does the ESP come up as esp8266.local on your machine? If so, what configuration/browser are you using to get it to register?

Thanks,
-Russ

@gregslomin
Copy link

I can also confirm that the mDNS example is not working at all for me.

@igrr igrr reopened this Apr 27, 2015
@igrr igrr closed this as completed in 99510e3 Apr 27, 2015
@igrr
Copy link
Member

igrr commented Apr 27, 2015

I've added missing interface address setup for multicast PCBs, so this example works properly now.

Note that it only works in station mode, see my comment here for details.

igrr added a commit that referenced this issue Apr 28, 2015
igrr pushed a commit that referenced this issue Oct 28, 2015
igrr added a commit that referenced this issue Oct 29, 2015
igrr pushed a commit that referenced this issue Oct 29, 2015
Merge pull request #155 from ficeto/esp8266
igrr pushed a commit that referenced this issue Oct 29, 2015
igrr added a commit that referenced this issue Feb 26, 2016
Changelog:
324c2fd Terminate connection if increase_bm_data_size fails
96fbb39 Update README.md
c18bb56 Add travis CI
9eaeca3 Postpone freeing of X509 context to the first data exchange after handshake
28869ea Use free followed by malloc instead of realloc when increasing raw buffer
43a90bc Merge pull request #8 from slaff/feature/lwipr-compat
66e1a5f Merge pull request #7 from slaff/feature/sni
1154d0a Changed the code to reserve bytes for hostname only if needed.
63da899 Added SNI ( https://en.wikipedia.org/wiki/Server_Name_Indication ) support.
7c38865 Restructured the lwip raw comat code. Added replacements for the time functions on ESP8266.
885ff3e Merge pull request #6 from slaff/feature/lwip-raw
d78e7a0 Initial version of axTLS integration with lwip raw tcp mode (http://lwip.wikia.com/wiki/Raw/TCP).
madpilot pushed a commit to madpilot/Arduino that referenced this issue Jul 15, 2017
ascillato pushed a commit to ascillato/Arduino that referenced this issue Nov 12, 2019
Jason2866 referenced this issue in Jason2866/Arduino Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants