tttapa / ESP8266

Documentation and help with the ESP8266 chip/boards/modules
GNU General Public License v3.0
656 stars 283 forks source link

I can't change the name for mDNS ! #54

Open bebenthefox opened 5 years ago

bebenthefox commented 5 years ago

Many thanks for your guideline. I learne at lot ... 1st time, I try A-mDNS sketch, all works perfectly after bonjour installation on W10. After this trial, I change the name for the mDNS.begin, compileand reload the sketch. But I can't ping the new name with or without .local. I can ping the IP address (of course ...) and I can ping with the old "esp8266.local" name. I restart the PC and the ESP8266, bonjour service without any impact.

How to reset the mDSN name of a ESP8266 ?

Thx

cjudd commented 4 years ago

I had to add MDNS.update(); to the loop.