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
a60d0c41
Commit
a60d0c41
authored
Nov 06, 2023
by
mrbaiwei
Browse files
Update dns_west_cn.sh
Signed-off-by:
mrbaiwei
<
mrbaiwei@gmail.com
>
parent
feffbba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_west.sh
→
dnsapi/dns_west
_cn
.sh
View file @
a60d0c41
...
...
@@ -3,15 +3,15 @@
# West.cn Domain api
#
#WEST_Username="username"
# set key at https://www.west.cn/manager/API/APIconfig.asp
#WEST_Key="sADDsdasdgdsf"
#Set key at https://www.west.cn/manager/API/APIconfig.asp
REST_API
=
"https://api.west.cn/API/v2"
######## Public functions #####################
#Usage: add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_west_add
()
{
dns_west_
cn_
add
()
{
fulldomain
=
$1
txtvalue
=
$2
...
...
@@ -33,7 +33,7 @@ dns_west_add() {
}
#Usage: rm _acme-challenge.www.domain.com
dns_west_rm
()
{
dns_west_
cn_
rm
()
{
fulldomain
=
$1
txtvalue
=
$2
...
...
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