ovh-ip-updater-go

command module
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL