From 45b93f3a45fadd9cbbc4873751ad4003a1ade73b Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 12 Dec 2024 09:14:38 +0300 Subject: [PATCH] blockcheck: use instead of curl in mdig test --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index 406143f..3c3d900 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -212,7 +212,7 @@ doh_resolve() # $1 - ip version 4/6 # $2 - hostname # $3 - doh server URL. use $DOH_SERVER if empty - $MDIG --family=$1 --dns-make-query=$2 | curl -s --data-binary @- -H "Content-Type: application/dns-message" "${3:-$DOH_SERVER}" | $MDIG --dns-parse-query + $MDIG --family=$1 --dns-make-query=$2 | $CURL -s --data-binary @- -H "Content-Type: application/dns-message" "${3:-$DOH_SERVER}" | $MDIG --dns-parse-query } doh_find_working() {