Aussie Susan
Advanced Member level 5
I have an ESP32 (ESP-IDF V4.1 framework) device that sets it DNS name before being allocated a IP address. The DHCP server is set up to deliver a specific address to this device. at this stage but I may want to make this fully dynamic in the future.
Shortly after starting the device I can 'ping' it from another computer on the LAN using the given name. However after some time (not sure how much but at least 30 minutes???) I can't ping the device name; but I can by IP address.
Again after some time (the next day???) I can ping the device by name again.
I'm not sure if this is a problem in my device (the way it sets the name, requests an IP address etc.) or the router that acts as the DHCP and DNS servers.
I've tried asking on the ESP32 ESP-IDF forum but no response after a number of days so I'm trying here in case this is NOT a fault in my device programming.
Is there some parameter that sets how long the DNS name is 'remembered' and how can I set this to make it longer?
Why is the name forgotten and then 'remembered' again? (This shows my ignorance of the detailed technical aspects of this.)
Susan
Shortly after starting the device I can 'ping' it from another computer on the LAN using the given name. However after some time (not sure how much but at least 30 minutes???) I can't ping the device name; but I can by IP address.
Again after some time (the next day???) I can ping the device by name again.
I'm not sure if this is a problem in my device (the way it sets the name, requests an IP address etc.) or the router that acts as the DHCP and DNS servers.
I've tried asking on the ESP32 ESP-IDF forum but no response after a number of days so I'm trying here in case this is NOT a fault in my device programming.
Is there some parameter that sets how long the DNS name is 'remembered' and how can I set this to make it longer?
Why is the name forgotten and then 'remembered' again? (This shows my ignorance of the detailed technical aspects of this.)
Susan