Sign inSign up

sdesbure/gandilive

By sdesbure

Updated over 5 years ago

Docker image to automatically update Gandi DNS with the current IP adress.

Image
0

3.2K

sdesbure/gandilive repository overview

GANDI Live DNS Docker

Docker image to automatically update Gandi DNS with the current IP adress. Script "stolen" here: https://github.com/sdesbure/rpi-docker-images/blob/master/gandi/updatedns.sh.v5

Docker image

image information version information circle ci status

How to use

Pull image
docker pull sdesbure/gandilive

Run container

This image contains :

  • 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 sdesbure/gandilive:latest

Every 5 minutes, the image will automatically check the current IP address of the host and, if necessary, update the DNS.

Tag summary

Content type

Image

Digest

Size

4.9 MB

Last updated

over 5 years ago

docker pull sdesbure/gandilive