-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
mDNS Unable to resolve IP normally in IOS17 #9046
Comments
I have just experienced the same issue. mDNS worked fine just fine two-three weeks ago but today I noticed it failed. Unfortunately I do not have any iOS og macOS devices running older OS's, so I cannot verify whether it is something on those devices or something in my network that has changed. But, I did find a partial fix by adding a TXT record:
|
Thank you very much for your solution! ! |
@morgendagen Thanks Would you recommend an update in our examples ? We already have this one but the legacy example is missing your fix. |
Man, thank you a lot. Your solution finally helped me to resolve issue with unstable discovering of my esp8266. P.S. In my case MDNS.announce(); was required to get working solution. |
Basic Infos
Platform
Settings in IDE
Problem Description
I have an ios application which uses mDNS to find specific devices on the network then it resolves an IP address so then the application can connect to it through websocket. It has been working for years now. Recently I updated my iPads to iOS 17 and suddenly this functionality stopped working.
APP uses _http._tcp. to obtain the IP of ESP8266
Then I used mDNS_Web_Server.ino from the library file to test, I can resolve the IP normally in IOS16 (tested using discovery&ABC-bonjour APP) and Android devices, but cannot resolve it normally in IOS17.
In IOS17 I can access http://esp8266.local through the browser and it returns the device's IP.
When I thought it might be a problem with the APP, I tried Arduino-ESP32
I used ESP32-mDNS_Web_Server.ino in the ESP32 library file and found that under IOS17, the APP can resolve the ESP32 IP normally.Both apps discovery&ABC-bonjour can resolve to the IP of ESP32 through MDNS normally.
May I ask what content is missing in the MDNS library of ESP8266 that causes this problem?
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: