Can't find an mDNS library that works with UNO WiFi Rev2

I have tried HUZZAH, CC3000, and ESP8266 mDNS libraries with this UNO WiFi Rev2 card and none of them work. Can someone point me to an mDNS library that will work with this card?

Thanks

I didn't do very extensive testing (I just uploaded the WiFiResolvingHostNames sketch and then successfully pinged arduino.local), but this library:

seems to work after I made a small change to the Arduino megaAVR Boards core. That change was to port this from the Arduino SAMD Boards core:

If you want help doing that, let me know and I will provide detailed instructions. If you are going at it alone, note that Udp.h is under the cores/arduino/api folder in the Arduino megaAVR Boards core.

You also need to change this line in the examples:

#include <WiFi101.h>

to:

#include <WiFiNINA.h>

Thanks Pert.

I added the multicast info to the megaAvr udp.h file and changed WiFi101 to WiFiNINA.

That allows the WiFiResolvingHostNames sketch to compile and upload. That is a giant step forward but there are still issues.

I have the mDNS name "MISTER" on my network and the sketch returns the wrong IP address for it. In fact, the sketch returns the same IP address for a name that is not on my network.

In the results below, you will see the results for the names "MISTER", "MISTERR", and "junk". The last 2 do not exist on my network.

Attempting to connect to WPA SSID: HOME-2G
You're connected to the networkEnter a mDNS host name via the Arduino Serial Monitor to have it resolved.
Do not postfix the name with ".local"
Resolving 'MISTER' via Multicast DNS (Bonjour)...
The IP address for 'MISTER' is 128.0.15.0
Resolving 'MISTERR' via Multicast DNS (Bonjour)...
The IP address for 'MISTERR' is 128.0.15.0
Resolving 'junk' via Multicast DNS (Bonjour)...
The IP address for 'junk' is 128.0.15.0

Just realized that this returns the correct results if I use "arduino" the actual name of this particular board.

Sorry, I'm not very knowledgeable on this subject. Are you saying that it's working correctly, or that it's only working partly correctly?

It is working correctly. I was just mistaken when I said it had issues.

You may not be knowledgeable on this topic, but you sure know enough to get me going on it.

Thanks...

You're welcome. I'm glad to hear it's working. Enjoy!
Per