Clone the repository and install with pip:
$ git clone [email protected]:Limosine/dyndns-update
$ pip install ./dyndns-update
usage: dyndns-update [-h] [-c CONFIG] [-f] [{sp,noip}]
positional arguments:
{sp,noip,strato} Update a hostname by provider
options:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Specify a config file
-f, --force Disable cache
import dyndns_update
dyndns_update.update(provider, username, password, hostname)
Syntax of the configuration file:
force = False
update {
<name> {
provider = noip
username = <username>
password = <password>
hostname = <hostname>
}
<name> {
provider = sp
username = <username>
password = <password>
hostname = <hostname>
}
}
Licensed under the EUPL-1.2-or-later.