This commit is contained in:
zhangchunsheng 2021-04-23 14:04:27 +08:00
parent 13c0d82432
commit f8b2db1911

View File

@ -3927,7 +3927,11 @@ _ns_is_available_cf() {
_ns_lookup_google() {
_cf_ld="$1"
_cf_ld_type="$2"
if [ "$ALIDNS" ]; then
_cf_ep="https://dns.alidns.com/resolve"
else
_cf_ep="https://dns.google/resolve"
fi
_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.
--staging, --test Use staging server, for testing.
--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.
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.
@ -7007,6 +7012,9 @@ _process() {
shift
fi
;;
--alidns)
ALIDNS="1"
;;
--output-insecure)
export OUTPUT_INSECURE=1
;;