A DDNS client that updates with current IP. Currently Cloudflare, Hurricane Electric and Strato are supported.
Project description
Python-DDNS
This is program written in python that acts as a DDNS client for various providers. Supports IPv4 and IPv6. Tested and supported on the following Python versions:
- 3.6
- 3.7
- 3.8
- 3.9
Provider List
- Cloudflare
- Hurricane Electric
- Strato - Thanks @Braumeister
- DBSimple
- NameCheap
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
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.3.1.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for python_ddns-2.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd77f0acf59f51e70672d90052bd9da7ff6d8bb2245c71622872501a846c2fd |
|
MD5 | 99151cfdfea05b6e08630a7df9dce092 |
|
BLAKE2b-256 | 2d150ccf897cede366cf1c348ffd5def6dade5903762516e14f8c1184dd3d211 |