A very simple OVH dyndns client to workaround difficulties with Ubiquity unadyn...
A config file is to be created at ~/.udyndns.json
{
"my_first_domain.net": {
"unifi": {
"host": "ugw",
"port": 8443,
"username": "ugw_user_to_retrieve_wan_ip",
"password": "ugw_password_to_retrieve_wan_ip"
},
"ovh": {
"username": "my_dyndns_username",
"password": "my_dyndns_password"
}
},
"my_second_domain.net": {
"unifi": {
"host": "udm",
"port": 443,
"username": "udm_user_to_retrieve_wan_ip",
"password": "udm_password_to_retrieve_wan_ip"
},
"ovh": {
"username": "my_other_dyndns_username",
"password": "my_other_dyndns_password"
}
}
}
Running this command every hour can be done with the following crontab:
0 * * * * python3 -m udyndns
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
udyndns-0.0.4.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file udyndns-0.0.4.tar.gz.
File metadata
- Download URL: udyndns-0.0.4.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb02a6065a464edc934fc6693e5e9295c14f3d53b3cc6158d18dcf69c5bcdbf1
|
|
| MD5 |
bf22bd0d8407ebbb85cd1c9b3fa38394
|
|
| BLAKE2b-256 |
c543d7136e7b8eee49ec6673689e5e24c318ee9e2c3b45b163c6eaffc437d7a3
|
File details
Details for the file udyndns-0.0.4-py3-none-any.whl.
File metadata
- Download URL: udyndns-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7eecdbb2e21d74b43ea65ea14141458507644bb52e92fe87e487410297cc794
|
|
| MD5 |
28ff0a370862ec000ab1af2f533e2b07
|
|
| BLAKE2b-256 |
57e435b5bfe05c41e893aa7ebe8a7bd79317a5320e768bcfd377c9eba97444d9
|