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
c42ed9c6
Unverified
Commit
c42ed9c6
authored
Jul 28, 2023
by
neil
Committed by
GitHub
Jul 28, 2023
Browse files
Merge pull request #4714 from hknet/master
Update dns_kappernet.sh
parents
55a3709b
c48c8d07
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_kappernet.sh
View file @
c42ed9c6
...
@@ -45,8 +45,8 @@ dns_kappernet_add() {
...
@@ -45,8 +45,8 @@ dns_kappernet_add() {
if
_kappernet_api GET
"action=new&subject=
$_domain
&data=
$data
"
;
then
if
_kappernet_api GET
"action=new&subject=
$_domain
&data=
$data
"
;
then
if
_contains
"
$response
"
"{
\"
OK
\"
:true"
;
then
if
_contains
"
$response
"
"{
\"
OK
\"
:true"
;
then
_info
"Waiting 1
20
second
s
for DNS to spread the new record"
_info
"Waiting 1 second for DNS to spread the new record"
_sleep 1
20
_sleep 1
return
0
return
0
else
else
_err
"Error creating a TXT DNS Record:
$fullhostname
TXT
$txtvalue
"
_err
"Error creating a TXT DNS Record:
$fullhostname
TXT
$txtvalue
"
...
...
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