I'd also like to learn more about about this subject. Cloudflare offers some API to update DNS: https://developers.cloudflare.com/dns/manage-dns-records/how...
I'd like to see some of those scripts that use CF API to detect and update IP in dynamics public IP environment.