ESP8266 Developer Zone The Official ESP8266 Forum 2016-01-09T12:11:13+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1610 2016-01-09T12:11:13+08:00 2016-01-09T12:11:13+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1610&p=5318#p5318 <![CDATA[Re: mDNS - not re-advertised after TTL]]>
Especially on Mac OS X and iOS ... the service name (badly named in the ESP SDK as mdns_info->server_name ), needs to be a registered in /etc/servers for the dns-sd tool send the QM/QU mDNS multicast questions/queries on the ethernet. Once I moved this to a known server, the Apple stuff finally started to ask the questions, and the EPS SDK mDNS APIs, do correctly reply.

So, i think I solved my own issue.

Statistics: Posted by DavidDPD — Sat Jan 09, 2016 12:11 pm


]]>
2016-01-09T09:21:49+08:00 2016-01-09T09:21:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1610&p=5317#p5317 <![CDATA[[Solved] mDNS - not re-advertised after TTL]]>
After about 5 minutes, the SDK 1.5 mDNS init seems to withdraw itself, and not re-advertised it.

Code:

> dns-sd -B _chatFabric
Browsing for _chatFabric._tcp
DATE: ---Fri 08 Jan 2016---
17:07:32.258  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
17:07:52.920  Add        2   4 local.               _chatFabric._tcp.    cf-18fe:34a2:e05b


17:14:15.897  Rmv        0   4 local.               _chatFabric._tcp.    cf-18fe:34a2:e05b

Statistics: Posted by DavidDPD — Sat Jan 09, 2016 9:21 am


]]>