Updates your DNS records on Strato DNS.
Project description
Strato-DynDNS
Strato-DynDNS updates your website's DNS records on DNS servers. Originally designed for Strato.
Disclaimer
- This tool is in no way associated with Strato AG.
- You use this tool at your own sole responsibility.
Installation
To install this tool, please download a suited version for your operating system from releases page of github repository of this project. Alternatively, you can install it via pip:
$ pip3 install strato-dyndns
If you want v1 (which only supports strato), use $ pip3 install strato-dyndns==1.2.1
Usage:
Command Line Option | Function |
---|---|
-c or --config |
inputs a configuration file, look below for configuration file syntax |
-u or --username |
specify username |
-p or --password |
specify password |
-d or --domain |
specify domain |
-ip |
specify ip address, accepts multiple IP addresses separated by spaces |
-v4 |
specifies to update IPv4 records |
-v6 |
specifies to update IPv6 records |
Python (3.6+) Library Documentation
The DynDNSClient
library was written with importablity in mind. Documentation will be released soon.
Quality of Life (QoL)
For QoL, this tool offers a functionality to read parameters from a config file.
1. Configuration file
A configuration file needs to be in JSON Format and needs to contain mandatory parameters username
, password
and domain
. An example config file could look like this:
{
"username": "maindomain.de",
"password": "S00p3rS3cur3_!",
"domain": "subdomain.maindomain.de",
"ip_addresses": []
}
2. Automation
While this script itself does not YET support chronic executions, scheduling updates are indeed possible with tools like crontab
e.g.
#open cronjobs in editing mode
$ crontab -e
#add strato-dyndns to list
10 10 * * 1 strato-dyndns -c config.conf -v4 -v6
#this would update your DNS records at 10:10 am every week.
Contributions
Any contribution to this tool are welcome. Any pull request, bug or issue reporting will be addressed as soon as possible.
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
Hashes for strato_dyndns-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52cb8509e3e3df4bb7ae29e6591596a1fb8bf26bc6796da93e5ab3d2dc29b371 |
|
MD5 | 4251642711b90fdb5bfb1286ba7f03a7 |
|
BLAKE2b-256 | 44666b1a1adb6563338a682f97ae05ac35946e56ae3c4e6c622d12faa52c7594 |