Getting Dynamic DNS last updates

How can I obtain the "Last updated" timestamp of a DDNS configuration programmatically?

After much research, I cannot find the timestamp via uci, and the /etc/init.d/ddns script does not seem to have a status subcommand.

So it's probably in /var/run/ddns, and any file ending in *.update

Thank you a lot! There is indeed one *.update file for each active configuration in the /var/run/ddns folder.

Maybe useful for anybody else trying to achieve the same result, the content of those UPDFILEs is a single timestamp in minutes. Since the absolute time on the device might not be correct (and might change), that number is instead relative to the device's uptime.