Update README.md
This commit is contained in:
parent
453fee4565
commit
5679fa964f
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue