But, who is going to do this manually everytime? Isn’t the whole idea of ddns that it updates automatically?
Perhaps you could add the following to your post:
Step 1: In OSMC on your TV, go to MyOSMC > Services and enable Cron
Step 2: via SSH, login to your OSMC device and type: crontab -e
Step 3: a textfile opens, at the bottom add this line:
0 */4 * * * wget --no-check-certificate -O - https://freedns.afraid.org/dynamic/update.php?YOURKEYHERE
Step 4: hit CTRL+O, ENTER to save and CTRL+X to exit. Done.
(replace the url with the url from your DDNS provider, the url above is for freedns.afraid.org)