Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.03 KB

README.md

File metadata and controls

56 lines (41 loc) · 1.03 KB

dyndns-update

Installation

Clone the repository and install with pip:

$ git clone [email protected]:Limosine/dyndns-update
$ pip install ./dyndns-update

Usage

Command-line

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

Python module

import dyndns_update

dyndns_update.update(provider, username, password, hostname)

Configuaration

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> 
}
}

License

Licensed under the EUPL-1.2-or-later.