MDNS and Ethernet DHCP Server

maurizio.scian
Posts: 26
Joined: Mon Jun 26, 2023 8:09 am

MDNS and Ethernet DHCP Server

Postby maurizio.scian » Thu Apr 24, 2025 3:20 pm

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?

Who is online

Users browsing this forum: Baidu [Spider], ChatGPT-User, Google [Bot], Qwantbot and 4 guests