]> git.proxmox.com Git - mirror_acme.sh.git/commit
[dnsapi] Support adding / removing multiple TXT values for Gandi
authorDominik Röttsches <drott@google.com>
Thu, 27 Dec 2018 22:45:51 +0000 (00:45 +0200)
committerDominik Röttsches <d-r@roettsches.de>
Sat, 29 Dec 2018 08:54:21 +0000 (10:54 +0200)
commit29a5311ae0cb82799d404efb8dc1b4c3cc7ff14d
tree8e475b1b814623aab1ccb576b8f714a00a62b18a
parentc9baca79109de3d55a6ced143b01e4ef7a07729a
[dnsapi] Support adding / removing multiple TXT values for Gandi

Gandi supports setting multiple entries by setting multiple array items
for the rrset_values field in their API. Modify the dns_gandi_livedns.sh
script so that it checks for existing entries, appends new ones if
needed, and removes existing ones individually. This enabled wildcard
certificate support on Gandi.

Fixes the dns_gandi_livedns part of #1261.

Tested for creating a multidomain, multiple wild-card certificate on
Gandi and using a test script executing only the dns_gandi_livedns_add
and dns_gandi_livedns_rm functions.
dnsapi/dns_gandi_livedns.sh [changed mode: 0755->0644]