SUD
Sud, Sud nuie simme r'o Sud,
nuie simme curt' e nire,
nuie simme buone pe' canta
e faticamm' a faticà
SUD (Scaleway Update Dns) is a small utility to add/update an "A" record in a DNS zone
managed by Scaleway.
Install via Pip
$ pip install sud
Configure
By default SUD search for a configuration file in /etc/sud/sud-config.yml.
A minimal configuration file need the hostname you want to add/update and the API secret needed to talk with the Scaleway API like in the following example:
hostname: myname.mydomain.com
api_secret: 1279bde5-150f-4113-ba37-c4c58e1dfece
It is possible to change the frequency with which SUD checks if an IP change has occurred as well as receiving a telegram notification with the new IP address:
hostname: myname.mydomain.com
api_secret: 1279bde5-150f-4113-ba37-c4c58e1dfece
frequency: 600 # each 10 minutes
notifications:
telegram:
token: 0987654321:tdCkfKaJooaIWMvebbKYeliLfLhlhvpKAB
chat_id: -1234567890
Run
To run sud just type:
$ sud run
if you want to place your config file somewhere else you can use:
$ sud -c /path/to/config.yml run
Help
You can get help just typing:
$ sud --help
License
SUD is released under the Apache License Version 2.0.
Metadata
Release files for sud 0.3.0
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 | |
|---|---|---|---|---|
| sud-0.3.0.tar.gz | 12.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sud-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / sud-0.3.0.tar.gz
| Download URL | sud-0.3.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8c1ce47b5685f4523b6105c771f9f4c93be720eab189e1e009c9776a98e960c
|
|
BLAKE2b-256 checksum How to use checksums |
113665c496a30251903e60efa77addcdbae0be2d1142fcc0b8bacad39e26fbdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.1 CPython/3.12.2 Linux/6.5.0-1015-azure
|
Release files / sud-0.3.0-py3-none-any.whl
| Download URL | sud-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01d058ac56a73d65d3e152d79d234ddfd9958b472494077c6e591112349bb975
|
|
BLAKE2b-256 checksum How to use checksums |
91bf07ed72b836265734e37804e05cd2ff6616c30577c08e6b40b098b55b96ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.1 CPython/3.12.2 Linux/6.5.0-1015-azure
|
Security for sud 0.3.0
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.