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
- 3.10-rc
Provider List
- Cloudflare
- Hurricane Electric
- Strato - @Braumeister
- Afraid.org - @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
Metadata
Release files for python-ddns 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-ddns-3.0.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_ddns-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / python-ddns-3.0.0.tar.gz
| Download URL | python-ddns-3.0.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f712885ef079366915030093b474b2315c6e4bdbbb2a311d8c959ba38e5273b
|
|
BLAKE2b-256 checksum How to use checksums |
1cd263a5c7bf49c3aa230e623adb9fc91572b9fc6332d1b56e55c2c2c5360a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
|
Release files / python_ddns-3.0.0-py3-none-any.whl
| Download URL | python_ddns-3.0.0-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
248b09aa2ae567281ee44dfd3023b4c6b4572786b1d8be71524d00c1e4ba2cca
|
|
BLAKE2b-256 checksum How to use checksums |
aefa52f10da89d3d5482ed29d8de1e525fdf5668327450e2654e9fd389dc7f8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
|