A DDNS client that updates with current IP. Currently only Cloudflare and Hurricane Electric are supported.
Project description
Python-DDNS
This is program written in python that acts as a DDNS client, currently just for Cloudflare. Planning for Hurricane Electric and DNSimple. Works on Python 3.6 and up.
Python Install
The recommended way is to use pip to install it.
There is a package available on pypi.
pip install python-ddns
# Setups the config file to the right name
pddns -i
# Modify config.conf with the require fields.
# To check configuration
pddns -t
# Recommended to test to make sure everything works
pddns
# Edit crontab to run script
crontab -e
# Add
0 * * * * <path/to/pddns> >/dev/null 2>&1 #Updates every hour.
Source Install
Source install if you would rather install it that way.
git clone https://gitlab.com/Cyb3r-Jak3/python-ddns
cd python-ddns/
python setup.py install
# Setups the config file to the right name
pddns -i
# Modify config.conf with the require fields.
# To check configuration
pddns -t
# Recommended to test to make sure everything works
pddns
# Edit crontab to run script
crontab -e
# Add
0 * * * * <path/to/pddns> >/dev/null 2>&1 # Updates every hour.
TODO
- Easier config editing
- Better service functionality
- Other DNS systems supported
- IPv6 support
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-ddns-2.1.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for python_ddns-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f952116485a4e99805b390d952bf9361bf0520bd4b806e42efc2ced5a10706a |
|
MD5 | 775c29beaea18f2ca2b6e6edc9e7041a |
|
BLAKE2b-256 | f96ae75f59719b35e2324a9ad3cc0a08320ffe026437ab50c2833404f03fbeba |