Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
c2344f37
Commit
c2344f37
authored
Jan 30, 2023
by
neilpang
Browse files
add log for doh
https://github.com/acmesh-official/acme.sh/issues/4481
parent
f537c606
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
c2344f37
...
...
@@ -4023,7 +4023,7 @@ _ns_purge_cf() {
#checks if cf server is available
_ns_is_available_cf() {
if _get "https://cloudflare-dns.com" "" 1 >/dev/null
2>&1
; then
if _get "https://cloudflare-dns.com" "" 1
0
>/dev/null; then
return 0
else
return 1
...
...
@@ -4031,7 +4031,7 @@ _ns_is_available_cf() {
}
_ns_is_available_google() {
if _get "https://dns.google" "" 1 >/dev/null
2>&1
; then
if _get "https://dns.google" "" 1
0
>/dev/null; then
return 0
else
return 1
...
...
@@ -4047,7 +4047,7 @@ _ns_lookup_google() {
}
_ns_is_available_ali() {
if _get "https://dns.alidns.com" "" 1 >/dev/null
2>&1
; then
if _get "https://dns.alidns.com" "" 1
0
>/dev/null; then
return 0
else
return 1
...
...
@@ -4063,7 +4063,7 @@ _ns_lookup_ali() {
}
_ns_is_available_dp() {
if _get "https://doh.pub" "" 1 >/dev/null
2>&1
; then
if _get "https://doh.pub" "" 1
0
>/dev/null; then
return 0
else
return 1
...
...
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