dynhost is a tiny CLI that updates a dynamic DNS record (DynHost) for a domain
hosted by OVH. It relies on
icanhazip.com to retrieve the public IP and calls
the OVH "API" to perform the update.
This tool expects the following environment variables:
DYNHOST_USERNAME: DynHost usernameDYNHOST_PASSWORD: DynHost passwordDYNHOST_HOSTNAME: the domain to update
To update the dynamic DNS record, run:
dynhost
That's it!
You can print the version by running:
dynhost -V
You can find two configuration files for
systemd to automatically run dynhost
(every hour by default).
Clone this project, then run:
cargo build --release
You will find the binary in target/release/.
This repository contains a set of tools to cross-compile dynhost for Raspberry
Pi Model 1 (ARMv6). If you have a Raspberry Pi 2 or 3, the architecture is
different (ARMv7).
Run the command below to cross-compile dynhost for ARMv6:
./cross-compile-armv6 --release
You will find the binary in target/arm-unknown-linux-gnueabihf/release/.
Note: the Docker image can be built with the following command:
docker build -t "willdurand/rust-armv6:latest" -f Dockerfile.armv6 .
This repository contains a set of tools to cross-compile dynhost for Orange Pi
(ARMv7).
Run the command below to cross-compile dynhost for ARMv7:
./cross-compile-armv7 --release
You will find the binary in target/armv7-unknown-linux-gnueabihf/release/.
Note: the Docker image can be built with the following command:
docker build -t "willdurand/rust-armv7:latest" -f Dockerfile.armv7 .
This project is released under the MIT License. See the bundled LICENSE file for details.