aliddns-python
An easy-to-use dynamic DNS(DDNS) tool for Alibaba Cloud.
Use Cases
You have domain names hosted in Alibaba Cloud, and you want to setup DDNS. DDNS is pretty usefull when you have public but dynamic IP from your ISP. Some advanced home routers support DDNS of many kinds out of box, but many cheap or old ones do not. This easy to use script allows you to setup up Alicloud DDNS sync on your home PC or any python-enabled devices.
Installation
pip install --upgrade aliddns-python
Quickstart
# update the given domain name DNS record with current public ip
python -m aliddns.ddns --key=<ACCESS_KEY> --secret=<SECERT_KEY> --record=www.yourdomain.com
Usage
Job Scheduling
# update dns record every 5 mins using cron job
# use `crontab -e` to edit the crob job
# m h dom mon dow command
*/5 * * * python -m aliddns.ddns --key=<ACCESS_KEY> --secret=<SECERT_KEY> --record=www.yourdomain.com
Documentation
Get Your Access Keys from Alibaba Cloud
Getting a key pair is easy, and lets you to use more API features apart from the DNS one.
In order to get one, log into your Alibaba Cloud console and in the top navigation bar, hover with your mouse in your email address and click "accesskeys" as illustrated below.
<https://www.alibabacloud.com/blog/Dynamic-DNS-using-Alibaba-Cloud-DNS-API_459542>
References
LICENSE
Copyright (c) 2019 cheng10
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Metadata
Release files for aliddns-python 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aliddns-python-0.1.2.tar.gz | 4.5 kB | Without provenance | Details for aliddns-python-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aliddns_python-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for aliddns_python-0.1.2-py3-none-any.whl |
Total release size: 10.0 kB
Release files / aliddns-python-0.1.2.tar.gz
| Download URL | aliddns-python-0.1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8557b9e60e915adf5d2d4ebe6220e5258ca0d0c588494538b983a9ea494dfd7c
|
|
BLAKE2b-256 checksum How to use checksums |
c9463107c0661460bd02af0803ccf92138237623069ff4232360b8412ce9e7c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / aliddns_python-0.1.2-py3-none-any.whl
| Download URL | aliddns_python-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e778fce7889fd7257ff937af923128c92a3deb4210f54f7412895f09894deb9
|
|
BLAKE2b-256 checksum How to use checksums |
067121ebaa035b889e896f1d2d855d1a2de83a53b4679d809854b42cfce6c2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Security for aliddns-python 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.