gandi: improve documentation

This commit is contained in:
Joel Beckmeyer 2023-08-02 19:49:39 -04:00
parent 5ec8bfe141
commit 846ab59e68
2 changed files with 12 additions and 12 deletions

View file

@ -197,10 +197,10 @@ ssl=yes # use ssl-support. Works with
## Gandi (gandi.net)
##
## Single host update
# protocol=gandi, \
# zone=example.com, \
# password=my-gandi-api-key, \
# ttl=3h \
# protocol=gandi
# zone=example.com
# password=my-gandi-api-key
# ttl=10800 # optional
# myhost.example.com
##

View file

@ -7339,20 +7339,20 @@ Available configuration variables:
Required.
* zone: The DNS zone to be updated. Required.
* ttl: The time-to-live value associated with the updated DNS record.
Optional; uses Gandi's default (3h) if unset.
Optional; uses Gandi's default (10800) if unset.
Example ${program}.conf file entries:
## Single host update.
protocol=gandi, \\
zone=example.com, \\
password=my-gandi-api-key, \\
protocol=gandi
zone=example.com
password=my-gandi-api-key
host.example.com
## Multiple host update.
protocol=gandi, \\
zone=example.com, \\
password=my-gandi-api-key, \\
ttl=1h \\
protocol=gandi
zone=example.com
password=my-gandi-api-key
ttl=3600 # optional
hosta.example.com,hostb.sub.example.com
EoEXAMPLE
}