Skip to content
Automatically update your domain with a short bash script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

legitDNS bash script update service

Automatically update your domain with this short script.


# Use git to download this script 
git clone

# enter the directory
cd domain_updater

# Edit the script to include your domain and account token
nano -w

# After reviewing the code, mark the script as executable
chmod +x

# Identify the full path of this file
# (output would be something like  "/home/user/domain_updater/")

# Edit your crontab file, which contains programs that automatically run at certain times
crontab -e

# Add a new line to your crontab to include the file:
# This line will check for updates every 10 minutes
*/10 * * * * /home/user/domain_updater/

# Save your crontab file, and exit the editor. Wait about 10 minutes and ping your domain to see if the update was successful.
ping -c5
You can’t perform that action at this time.