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
fdb9d93b
Commit
fdb9d93b
authored
Oct 12, 2018
by
Ne-Lexa
Browse files
formatted
parent
475e6e28
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_internetbs.sh
View file @
fdb9d93b
...
@@ -69,7 +69,7 @@ dns_internetbs_rm() {
...
@@ -69,7 +69,7 @@ dns_internetbs_rm() {
_debug _domain
"
$_domain
"
_debug _domain
"
$_domain
"
_debug
"Getting txt records"
_debug
"Getting txt records"
# https://testapi.internet.bs/Domain/DnsRecord/List?ApiKey=testapi&Password=testpass&Domain=test-api-domain7.net&FilterType=CNAME&ResponseFormat=json
# https://testapi.internet.bs/Domain/DnsRecord/List?ApiKey=testapi&Password=testpass&Domain=test-api-domain7.net&FilterType=CNAME&ResponseFormat=json
_internetbs_rest POST
"Domain/DnsRecord/List"
"Domain=
$_domain
&FilterType=TXT&ResponseFormat=json"
_internetbs_rest POST
"Domain/DnsRecord/List"
"Domain=
$_domain
&FilterType=TXT&ResponseFormat=json"
if
!
_contains
"
$response
"
"
\"
status
\"
:
\"
SUCCESS
\"
"
;
then
if
!
_contains
"
$response
"
"
\"
status
\"
:
\"
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