From 5679fa964faeba043873a583544127bca7c17cdf Mon Sep 17 00:00:00 2001 From: Lab 8916100448256 Date: Sat, 29 Feb 2020 19:11:13 +0000 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b7ad14c..823b7a8 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,9 @@ Check this page if you don't know your APIKey : https://docs.gandi.net/en/domain ### /usr/local/bin/live-dns-update.sh This is the script that is called by the cron job. -This script is based on the sample provided on Gandi GitHub : [mywanip.sh](https://github.com/Gandi/api-examples/blob/master/bash/livedns/mywanip.sh) +First the WAN (external) IPV4 and IPV6 adresses are determined using http://me.gandi.net +Then they are compared to DNS records for the configured host and domain. +In case of mismatch Gandi live DNS API is called to update the DNS records + +This script is based on this sample provided by Gandi on their GitHub : [mywanip.sh](https://github.com/Gandi/api-examples/blob/master/bash/livedns/mywanip.sh)