This script can help to register current IP address of your server on the GoDaddy DNS server.
First, go to GoDaddy developer site to create your developer account https://developer.godaddy.com/getstarted
Replace the domain,name,key,secret with your information.
Then, execute this script on your server.
to run this script as a schdeule job. you can try to use cronjob(unix), task scheduler(win) on your server.