- Open Terminal
sudo nano /etc/crontab
- At the bottom of the file add the following line and replace TOKEN with a real 20 character token from your control panel. You can also change the update frequency. You can use this crontab syntax generator or Google. The example below will update DNS every 30 minutes.
*/30 * * * * root curl -k -X PUT -d "" https://entrydns.net/records/modify/TOKEN
- Press 'Ctrl+X', then 'Y' and 'Enter' on your keyboard.
- That's it!
Note, you may need to install curl package if it's not already installed on your linux. You can test it by trying to run the curl command manually.