Update README.md
This commit is contained in:
parent
53cf3b5db7
commit
62d88890c3
|
@ -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
|
### /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 through curl
|
||||||
+ Then they are compared to the A and AAAA DNS records for the configured host and domain.
|
+ 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
|
+ 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`.
|
Information logs are written to the system log `/var/log/syslog`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue