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
0ed6fef4
Unverified
Commit
0ed6fef4
authored
Apr 20, 2020
by
neil
Committed by
GitHub
Apr 20, 2020
Browse files
Merge pull request #2876 from wurzelpanzer/easydns-updates
easyDNS API out of beta
parents
16134615
9bad11ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_easydns.sh
View file @
0ed6fef4
...
@@ -4,8 +4,7 @@
...
@@ -4,8 +4,7 @@
#
#
# easyDNS REST API for acme.sh by Neilpang based on dns_cf.sh
# easyDNS REST API for acme.sh by Neilpang based on dns_cf.sh
#
#
# Please note: # API is currently beta and subject to constant change
# API Documentation: https://sandbox.rest.easydns.net:3001/
# http://sandbox.rest.easydns.net:3000/
#
#
# Author: wurzelpanzer [wurzelpanzer@maximolider.net]
# Author: wurzelpanzer [wurzelpanzer@maximolider.net]
# Report Bugs here: https://github.com/acmesh-official/acme.sh/issues/2647
# Report Bugs here: https://github.com/acmesh-official/acme.sh/issues/2647
...
@@ -25,7 +24,7 @@ dns_easydns_add() {
...
@@ -25,7 +24,7 @@ dns_easydns_add() {
EASYDNS_Key
=
"
${
EASYDNS_Key
:-
$(
_readaccountconf_mutable EASYDNS_Key
)
}
"
EASYDNS_Key
=
"
${
EASYDNS_Key
:-
$(
_readaccountconf_mutable EASYDNS_Key
)
}
"
if
[
-z
"
$EASYDNS_Token
"
]
||
[
-z
"
$EASYDNS_Key
"
]
;
then
if
[
-z
"
$EASYDNS_Token
"
]
||
[
-z
"
$EASYDNS_Key
"
]
;
then
_err
"You didn't specify an easydns.net token or api key.
Please s
ign
up at http://
docs.sandbox.rest.easydns.net/beta_
signup.php"
_err
"You didn't specify an easydns.net token or api key.
S
ignup at http
s
://
cp.easydns.com/manage/security/api/
signup.php"
return
1
return
1
else
else
_saveaccountconf_mutable EASYDNS_Token
"
$EASYDNS_Token
"
_saveaccountconf_mutable EASYDNS_Token
"
$EASYDNS_Token
"
...
...
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