Skip to content

sazap10/ovh-ip-updater-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7abaca1 · Jan 18, 2025
Dec 7, 2024
May 14, 2019
Feb 5, 2023
Dec 7, 2024
Jan 16, 2025
Jan 3, 2025
Feb 18, 2018
May 15, 2019
Jan 3, 2025
Dec 7, 2024
Dec 7, 2024
Mar 25, 2024
Dec 11, 2019

Repository files navigation

OVH IP Updater

Updates the IP addresses for Dynamic DNS hosts in OVH with the current machine's IP.

Docker

Run the following command:

docker run -d \
  -e OVH_USERNAME="YOUR OVH DYNDNS USERNAME" \
  -e OVH_PASSWORD="YOUR OVH DYNDNS PASSWORD" \
  -e DOMAINS="COMMA SEPARATED LIST OF DOMAINS TO UPDATE" \
  -e BUGSNAG_API_KEY="YOUR BUGSNAG API KEY HERE(OPTIONAL)" \
  -e SLEEP_DURATION="HOW OFTEN TO UPDATE IP IN SECONDS(DEFAULTS TO 3600)" \
  sazap10/ovh-ip-updater-go

Docker Compose

Run the following command:

docker-compose up -d

Make sure to have an .env file in your current directory with the following:

OVH_USERNAME=<YOUR OVH DYNDNS USERNAME>
OVH_PASSWORD=<YOUR OVH DYNDNS PASSWORD>
DOMAINS=<COMMA SEPARATED LIST OF DOMAINS TO UPDATE>
BUGSNAG_API_KEY=<YOUR BUGSNAG API KEY HERE(OPTIONAL)>
SLEEP_DURATION=<HOW OFTEN TO UPDATE IP IN SECONDS(DEFAULTS TO 3600)>