This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/usr/bin/bash | |
# See knowlegebase article to config namecheap | |
# https://www.namecheap.com/support/knowledgebase/article.aspx/43/11/how-do-i-set-up-a-host-for-dynamic-dns | |
# make it executable `chmod +x ddns-update` | |
# move it path `mv ddns-update /usr/bin/` | |
# setup cronjob for every 15 minutes `crontab -e` | |
# */15 * * * * ddns-update >/dev/null 2>&1 | |
# dont forget to change your own domain & password | |
# uncomment if you want internet connection check before running |