Uploaded April 2020 | Updated September 2026, 1 week ago
In this video we will learn how to use mDNS to resolve the address of a HTTP web server hosted by the ESP32.
This means that we don't need to know the actual IP address of the ESP32 to reach the server it is hosting since mDNS will allow us to do the resolution of a known hostname into the IP address of the device.
Another big advantage of mDNS is that it doesn't need a dedicated infra-structure for the name resolution, like a traditional DNS server.
You can get the complete code from this written tutorial at my blog: techtutorialsx.com/2020/04/17/esp32-mdns-address-resolution
Setting up HTTP web server (written post): techtutorialsx.com/2017/12/01/esp32-arduino-asynchronous-http-webserver
Setting up HTTP web server (video): youtube.com/watch?v=BvePZCJ7tMY
IDF mDNS documentation: docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/mdns.html
Bounjour (for Windows): support.apple.com/downloads/bonjour-for-windows
Avahi (for Linux): github.com/lathiat/avahi
In this video we will learn how to use mDNS to resolve the address of a HTTP web server hosted by the ESP32.
This means that we don't need to know the actual IP address of the ESP32 to reach the server it is hosting since mDNS will allow us to do the resolution of a known hostname into the IP address of the device.
Another big advantage of mDNS is that it doesn't need a dedicated infra-structure for the name resolution, like a traditional DNS server.
You can get the complete code from this written tutorial at my blog: techtutorialsx.com/2020/04/17/esp32-mdns-address-resolution
Setting up HTTP web server (written post): techtutorialsx.com/2017/12/01/esp32-arduino-asynchronous-http-webserver
Setting up HTTP web server (video): youtube.com/watch?v=BvePZCJ7tMY
IDF mDNS documentation: docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/mdns.html
Bounjour (for Windows): support.apple.com/downloads/bonjour-for-windows
Avahi (for Linux): github.com/lathiat/avahi










