mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-15 03:04:19 +01:00
Docker image to automatically update Gandi DNS with the current IP adress
Status
Content
This image is based my own Alpine Linux base image.
This image contains :
- the python Gandi CLI for the v4 version
- curl and jq to access Gandi REST API for the v5 version
Usage
Use this image to update a DNS record to the current IP of the host: docker run -e GANDI_API_KEY="YOUR GANDI API KEY" -e GANDI_HOST="THE HOST NAME IN THE GANDI DOMAIN" -e GANDI_DOMAIN="YOUR GANDI DOMAIN" --name gandi napnap75/rpi-gandi:latest
Use the following images :
napnap75/rpi-gandi:v4if you use the v4 version of Gandinapnap75/rpi-gandi:v5ornapnap75/rpi-gandi:latestif you use the v5 version of Gandi
Every 5 minutes, the image will automatically check the current IP address of the host and, if necessary, update the DNS.