Update README.md

This commit is contained in:
Lab 8916100448256 2020-02-29 19:11:38 +00:00
parent 5679fa964f
commit 35cb9ab1bf

View file

@ -29,9 +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 ### /usr/local/bin/live-dns-update.sh
This is the script that is called by the cron job. This is the script that is called by the cron job.
First the WAN (external) IPV4 and IPV6 adresses are determined using http://me.gandi.net +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. +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 /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) 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)