A DDNS client that updates providers with host machine's current IP.
This is program written in python that acts as a DDNS client, currently just for Cloudflare.
Works on python3 and up.
I plan on making it a ppa to have it easier to update. Replaced with pypi
git clone https://github.com/jwhite1st/python-ddns
cd python-ddns/
pip install -r requirements
# Modify config.conf with the require fields.
# To test configuration
python3 python-ddns.py
# Edit crontab to run script
crontab -e
# Add
0 * * * * /usr/bin/python3 $PWD/python-ddns.py >/dev/null 2>&1 #Updates every hour.
There is a package available on pypi if you would rather install it that way.
pip install python-ddns
#Modify the config file. To find where it is install use pip show -f python-ddns
# Edit crontab to run script
crontab -e
# Add
0 * * * * /usr/bin/python-ddns >/dev/null 2>&1 #Updates every hour.