In order to configure a Dynamic DNS for FreeNAS, we recommend to use the web interface and setup a Cron Job. To do so, click on Tasks button from the top panel. Next, click on Cron Jobs tab (next to Cloud Sync) and then click on Add Cron Job button. In the popup window, select the user to run the command from User dropdown menu. In text field Command, you have to paste the suggested wget command from the Dynamic URL popup of your record. Wget command should look like this:
wget -q --read-timeout=0.0 --waitretry=5 --tries=400 --background https://ipv4.cloudns.net/api/dynamicURL/?q=your_string_here
The next step requires to select when this command will be executed. We recommend to leave the default settings, as the Cron Job will be executed every hour, which is the default TTL of each record at ClouDNS. Next, scroll down to the bottom of the popup window, make sure Enabled is selected and click on OK. Once you add the Cron Job, we recommend to click on it in the Cron Job list and then click on Run Now button on the bottom of the page in order to execue it instantly.