Black Friday promo up to -50% Time left:

Dynamic DNS for macOS

Pre-configuration requirements

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:

https://ipv4.cloudns.net/api/dynamicURL/?q=your-string-here
or
https://ipv6.cloudns.net/api/dynamicURL/?q=your-string-here

Configuration using Cronjob

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. 

How to set up Dynamic DNS for macOS- Step by Step:


Last modified: 2024-11-07
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more