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)