Note
A GitHub Action that push a new monthly image has been setup only to always have the latest Alpine base image
A simple but effective containerized implementation of my script (visible at this link) to update the Dynamic Public IP utilizing the OVH DDNS Service DynHost.
Variable | Description |
---|---|
HOSTNAME |
OVH domain |
LOGIN |
DynHost username |
PASSWORD |
DynHost password |
LOG_TYPE |
Values can be either 'file' or 'STDOUT' . Nothing else is accepted. Default is 'STDOUT' . |
REFRESH_TIME |
Must be a positive integer in minutes. Script runs every REFRESH_TIME minutes. Default is 5 . |
Architecture | Supported? |
---|---|
x86 |
YES |
x86_64 |
YES |
armv7 |
YES |
aarch64 |
YES |
The image is available in the GitHub Container Registry, but if you want to locally build it in order to debug, or improve or whatever, just modify the docker compose substituting the line image:
with:
build:
context: .
dockerfile: Dockerfile
image: ovh-ddns:local-build
From OVH dashboard you can create the DynHost user:
- Domain names/yourdomain.ovh/DynHost section
- Manage Access
- Create a username and the subdomain you wanna redirect the host
- Then Add a DynHost record with the same subdomain and the current IP of the host
Remember that for some TLD, redirection to domain.TLD is not possible (ie
.it
doesn't allow this, so if I need to redirect to a domain.it, I'd createdyn.domain.it
and redirect to it. Then I'll redirect any subdomain todyn.domain.it
and I have my Nginx reverse proxy that listen fordyn.domain.it
)