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
69b780ee
Unverified
Commit
69b780ee
authored
May 29, 2018
by
linux-insideDE
Committed by
GitHub
May 29, 2018
Browse files
Update dns_netcup.sh
parent
c7b90450
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_netcup.sh
View file @
69b780ee
...
...
@@ -102,7 +102,6 @@ dns_netcup_rm() {
i
=
0
fi
done
msg
=
$(
_post
"{
\"
action
\"
:
\"
updateDnsRecords
\"
,
\"
param
\"
: {
\"
apikey
\"
:
\"
$NC_Apikey
\"
,
\"
apisessionid
\"
:
\"
$sid
\"
,
\"
customernumber
\"
:
\"
$NC_CID
\"
,
\"
clientrequestid
\"
:
\"
$client
\"
,
\"
domainname
\"
:
\"
$domain
\"
,
\"
dnsrecordset
\"
: {
\"
dnsrecords
\"
: [ {
\"
id
\"
:
\"
$ids
\"
,
\"
hostname
\"
:
\"
$fulldomain
.
\"
,
\"
type
\"
:
\"
TXT
\"
,
\"
priority
\"
:
\"\"
,
\"
destination
\"
:
\"
$txtvalue
\"
,
\"
deleterecord
\"
:
\"
TRUE
\"
,
\"
state
\"
:
\"
yes
\"
} ]}}}"
"
$end
"
""
"POST"
)
_debug
"
$msg
"
if
[
"
$(
_getfield
"
$msg
"
"4"
|
sed
s/
\"
status
\"
:
\"
//g |
sed
s/
\"
//g
)
"
!=
"success"
]
;
then
...
...
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