I have Created an DDNS Update Client Library to Make DDNS Domain - IP Updates Easier.
It Uses Just 4 Lines of code to manager your Public IP Changes. It Currently Supports DuckDNS and No-ip.
Do Check it Here on Github - https://github.com/ayushsharma82/EasyDDNS
More DDNS Services Support Coming Soon.
Regards,
Ayush