From 846ab59e6833871ee10688e466d626aa87a1ba2b Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 2 Aug 2023 19:49:39 -0400 Subject: [PATCH] gandi: improve documentation --- ddclient.conf.in | 8 ++++---- ddclient.in | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ddclient.conf.in b/ddclient.conf.in index fb50ab3..69ddc47 100644 --- a/ddclient.conf.in +++ b/ddclient.conf.in @@ -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 ## diff --git a/ddclient.in b/ddclient.in index 58324e9..514693a 100755 --- a/ddclient.in +++ b/ddclient.in @@ -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 }