mDNS is a multicast UDP service that is used to provide local network service and host discovery.
The ESP-IDF component
mDNS has been moved from ESP-IDF since version v5.0 to a separate repository:
To add mDNS component in your project, please run
idf.py add-dependency espressif/mdns.
The documentation can be found on the link below: