fixed #3487
This commit is contained in:
parent
13c0d82432
commit
f8b2db1911
8
acme.sh
8
acme.sh
@ -3927,7 +3927,11 @@ _ns_is_available_cf() {
|
|||||||
_ns_lookup_google() {
|
_ns_lookup_google() {
|
||||||
_cf_ld="$1"
|
_cf_ld="$1"
|
||||||
_cf_ld_type="$2"
|
_cf_ld_type="$2"
|
||||||
|
if [ "$ALIDNS" ]; then
|
||||||
|
_cf_ep="https://dns.alidns.com/resolve"
|
||||||
|
else
|
||||||
_cf_ep="https://dns.google/resolve"
|
_cf_ep="https://dns.google/resolve"
|
||||||
|
fi
|
||||||
_ns_lookup_impl "$_cf_ep" "$_cf_ld" "$_cf_ld_type"
|
_ns_lookup_impl "$_cf_ep" "$_cf_ld" "$_cf_ld_type"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6544,6 +6548,7 @@ Parameters:
|
|||||||
-f, --force Force install, force cert renewal or override sudo restrictions.
|
-f, --force Force install, force cert renewal or override sudo restrictions.
|
||||||
--staging, --test Use staging server, for testing.
|
--staging, --test Use staging server, for testing.
|
||||||
--debug [0|1|2|3] Output debug info. Defaults to 1 if argument is omitted.
|
--debug [0|1|2|3] Output debug info. Defaults to 1 if argument is omitted.
|
||||||
|
--alidns use alidns resolve instead of google
|
||||||
--output-insecure Output all the sensitive messages.
|
--output-insecure Output all the sensitive messages.
|
||||||
By default all the credentials/sensitive messages are hidden from the output/debug/log for security.
|
By default all the credentials/sensitive messages are hidden from the output/debug/log for security.
|
||||||
-w, --webroot <directory> Specifies the web root folder for web root mode.
|
-w, --webroot <directory> Specifies the web root folder for web root mode.
|
||||||
@ -7007,6 +7012,9 @@ _process() {
|
|||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
--alidns)
|
||||||
|
ALIDNS="1"
|
||||||
|
;;
|
||||||
--output-insecure)
|
--output-insecure)
|
||||||
export OUTPUT_INSECURE=1
|
export OUTPUT_INSECURE=1
|
||||||
;;
|
;;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user