Update README.md

This commit is contained in:
Lab 8916100448256 2020-02-29 20:18:14 +00:00
parent 53cf3b5db7
commit 62d88890c3
1 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ Check this page if you don't know the APIKey of your Gandi account : https://doc
### /usr/local/bin/live-dns-update.sh
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
+ Then they are compared to the A and AAAA DNS records for the configured host and domain.
+ In case of mismatch Gandi live DNS API is called to update the DNS records
+ First the WAN (external) IPV4 and IPV6 adresses are determined using http://me.gandi.net through curl
+ Then they are compared to the A and AAAA DNS records retrieved through dig for the configured host and domain.
+ In case of mismatch Gandi live DNS API is called to update the DNS records through curl using the configured APIKey
Information logs are written to the system log `/var/log/syslog`.