Updates your DNS records on Strato DNS.
Project description
Strato-DynDNS
Strato-DynDNS updates your website's DNS records on Strato Servers.
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
Usage:
Command Line Option | Function |
---|---|
-i or --input |
inputs a configuration file, look below for configuration file syntax |
-v4 |
specifies to update IPv4 records |
-v6 |
specifies to update IPv6 records |
-c or --config |
configuration wizard, creates a config file |
-q or --quiet |
quiet mode, only fatal errors are shown in console |
-v or --version |
shows installed version of tool |
-s or --secure |
hides password from logs and messages |
Quality of Life (QoL)
For QoL, this tool offers a functionality to read parameters from a config file.
Configuration file
A configuration file needs to be in JSON Format and needs to contain mandatory parameters username
, password
and domain
. A configuration file can be created via script with -c
or -config
. An example config file could look like this:
{
"username": "maindomain.de",
"password": "S00p3rS3cur3_!",
"domain": "subdomain.maindomain.de"
}
Automation
While this script itself does not 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 -i 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-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c7ce6c85f946ea4ce16a10fefd8730ac292ea8afe2d39417c00c95ade0efe14 |
|
MD5 | 296c600ff4ef1b8f5caa73eeab5ab3b0 |
|
BLAKE2b-256 | f6f9f51842039df3c20ed6c532208e99cdb03f7327677cf8aaf9f6a3cf0fbab4 |