DDNS client for aliyun
Project description
Aliyun DDNS Client
Preface
Forked from rfancn/aliyun-ddns-client. But seems the author seems does not want to accept PRs, so this repo will be independent from the original one.
Usage
Prepare DDNS
Required options need to be set in /etc/ddns.conf:
- access_id
- access_key
- domain
- sub_domain
Optional options:
- type
- debug
[DEFAULT]
# access id obtains from aliyun
access_id=
# access key obtains from aliyun
access_key=
# it is not used at this moment, you can just ignore it
interval=600
# turn on debug mode or not
debug=true
[DomainRecord1]
# domain name, like google.com
domain=
# subdomain name, like www, blog, bbs, *, @, ...
sub_domain=
# resolve type, 'A', 'AAAA'..., currently it only supports 'A'
type=A
[feature_public_ip_from_nic]
enable=false
interface=eth0
Run with docker
docker run -it --rm -v $YOUR_CONF_FILE_PATH:/etc/ddns.conf tsingjyujing/aliyun-ddns-client
Install from PIP
You can install/update the command line tool from PIP:
pip3 install -U aliyun-ddns-client
# You can also install from github if you want
pip3 install -U git+https://github.com/TsingJyujing/aliyun-ddns-client.git
Save your config file to $(pwd)/ddns.conf
or /etc/ddns.conf
, and run aliyun-ddns
directly.
Limitations
This version of DDNS client only supports auto updating 'A' type DomainRecord with IPV4 address.
Other types are not supported because they need following value format other than IP address:
- 'NS', 'MX', 'CNAME' types DomainRecord need domain name format value
- 'AAAA' type DomainRecord need IPV6 address format value
- 'SRV' type DomainRecord need name.protocal format value
- 'Explicit URL' and 'Implicit URL' need URL format value
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aliyun-ddns-client-0.4.tar.gz
.
File metadata
- Download URL: aliyun-ddns-client-0.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63cd45f5d5e3720436cd40b2999f7b0b288d7097adc4f5e8e5765fb932f1600e |
|
MD5 | 9370f881eb9cd208c1960616eb1b4658 |
|
BLAKE2b-256 | 77fad7db85851710c81e56b16346478ef42e20ff7a93e8b8222893b557951317 |
File details
Details for the file aliyun_ddns_client-0.4-py3-none-any.whl
.
File metadata
- Download URL: aliyun_ddns_client-0.4-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fbabff50835d1cc89f1f41f24d71d3497f6f7fb696b3497ab6d79110e5618a |
|
MD5 | 73f56f9bd9e09200ac65e04455fb2682 |
|
BLAKE2b-256 | feaf11cf8bae633070df8d7f8dcb9ac1bcdda7bbcb881d1f86608b0accad13f1 |