Page 1 of 1

MDNS and Ethernet DHCP Server

Posted: Thu Apr 24, 2025 3:20 pm
by maurizio.scian
MDNS announces are made on GOT_IP event. If the device is DHCP server however the GOT_IP event happens before any other host connects. Therefore, is it possible to have an event or a callback from the DHCP server that tells me the assignment of a new address, to be able to force a new MDNS announce?
The DHCP server is on ethernet port, so the STAIPASSIGNED event is not available.
Are there any workarounds other than pinging the devices to understand if they have gone offline, or cycling the ARP table to detect new devices?