Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d61ef6b4
Commit
d61ef6b4
authored
May 12, 2017
by
neil
Browse files
gandi dns api updated.
parent
c487cd6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_gandi_livedns.sh
View file @
d61ef6b4
...
@@ -37,7 +37,7 @@ dns_gandi_livedns_add() {
...
@@ -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"
)
"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment