Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
9f6f721a
Unverified
Commit
9f6f721a
authored
Oct 15, 2018
by
Ephen
Committed by
GitHub
Oct 15, 2018
Browse files
cloudxns.net
cloudxns.net is the main domain.
parent
c31db83b
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
9f6f721a
#!/usr/bin/env sh
#!/usr/bin/env sh
# Cloud
xns.com
Domain api
# Cloud
XNS
Domain api
#
#
#CX_Key="1234"
#CX_Key="1234"
#
#
...
@@ -19,7 +19,7 @@ dns_cx_add() {
...
@@ -19,7 +19,7 @@ dns_cx_add() {
if
[
-z
"
$CX_Key
"
]
||
[
-z
"
$CX_Secret
"
]
;
then
if
[
-z
"
$CX_Key
"
]
||
[
-z
"
$CX_Secret
"
]
;
then
CX_Key
=
""
CX_Key
=
""
CX_Secret
=
""
CX_Secret
=
""
_err
"You don't specify cloudxns.
com
api key or secret yet."
_err
"You don't specify cloudxns.
net
api key or secret yet."
_err
"Please create you key and try again."
_err
"Please create you key and try again."
return
1
return
1
fi
fi
...
...
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