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
7dfc5a78
Unverified
Commit
7dfc5a78
authored
Nov 12, 2020
by
tsoybe
Committed by
GitHub
Nov 12, 2020
Browse files
Update dns_desec.sh
Deletion to
parent
a077132d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_desec.sh
View file @
7dfc5a78
...
@@ -130,7 +130,7 @@ dns_desec_rm() {
...
@@ -130,7 +130,7 @@ dns_desec_rm() {
_debug txtvalues
"
$txtvalues
"
_debug txtvalues
"
$txtvalues
"
_info
"Deleting record"
_info
"Deleting record"
body
=
"[{
\"
subname
\"
:
\"
$_sub_domain
\"
,
\"
type
\"
:
\"
TXT
\"
,
\"
records
\"
:[
$txtvalues
],
\"
ttl
\"
:
6
0}]"
body
=
"[{
\"
subname
\"
:
\"
$_sub_domain
\"
,
\"
type
\"
:
\"
TXT
\"
,
\"
records
\"
:[
$txtvalues
],
\"
ttl
\"
:
360
0}]"
_desec_rest PUT
"
$REST_API
/
$DEDYN_NAME
/rrsets/"
"
$body
"
_desec_rest PUT
"
$REST_API
/
$DEDYN_NAME
/rrsets/"
"
$body
"
if
[
"
$_code
"
=
"200"
]
;
then
if
[
"
$_code
"
=
"200"
]
;
then
_info
"Deleted, OK"
_info
"Deleted, OK"
...
...
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