Open the DNS zone which you want to connect with Dynamic URL. Find the A or AAAA record which you would like to be updated dynamically and click on the arrows on the row for this record. Afterwards, you have to Activate the Dynamic URL in the pop-up. Once you do it, you will see example scripts, used for record update. In this setup, you will need the first one, which looks like this:
To configure Dynamic DNS on macOS devices, you have to open Terminal. You can do it from Other in Launchpad or Utilites in Applications. An alternative way is to open Spotlight by pressing ⌘ + Space and type in Terminal. Afterwards, type in:
% EDITOR=nano crontab -e
When NANO opens, you have to enter the desired update interval and paste the update URL with curl command in the beggining. For example, if you would like your record's IP address to be updated every 60 minutes, you have to enter the following text:
*/60 * * * * curl https://ipv4.cloudns.net/api/dynamicURL/?q=your-string-here
In case you would like your record's IP address to be updated every 30 minutes, just replace 60 with 30. Once you are ready, press Control + X, press Y to save the modifications and then press Enter.
Dynamic DNS on macOS can be configured using PLIST job with Launchd. To do so, download the macOS script from the Dynamic DNS pop-up. Next, you can move the file to a directory of your choice and load the job in Launchd using the following command in Terminal:
% launchd load /path/to/dynamic-url-macos.plist
Once you are ready, the Dynamic DNS will be succesfully configured.