mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
gandi dns api updated.
This commit is contained in:
parent
c487cd6af2
commit
d61ef6b49a
@ -37,7 +37,7 @@ dns_gandi_livedns_add() {
|
|||||||
_debug sub_domain "$_sub_domain"
|
_debug sub_domain "$_sub_domain"
|
||||||
|
|
||||||
_gandi_livedns_rest PUT "domains/$_domain/records/$_sub_domain/TXT" "{\"rrset_ttl\": 300, \"rrset_values\":[\"$txtvalue\"]}" \
|
_gandi_livedns_rest PUT "domains/$_domain/records/$_sub_domain/TXT" "{\"rrset_ttl\": 300, \"rrset_values\":[\"$txtvalue\"]}" \
|
||||||
&& _contains "$response" '{"message": "Zone Record Created"}' \
|
&& _contains "$response" '{"message": "DNS Record Created"}' \
|
||||||
&& _info "Add $(__green "success")"
|
&& _info "Add $(__green "success")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user