From ceb4782613f9751b385677f1023be521c45bb0a5 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 20 Jun 2024 12:51:27 +0300 Subject: [PATCH] blockcheck: ip block test unblocked domain itself --- blockcheck.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blockcheck.sh b/blockcheck.sh index fe688fe..3315d71 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -1236,6 +1236,9 @@ check_dpi_ip_block() echo echo "- IP block tests (requires manual interpretation)" + echo "testing $UNBLOCKED_DOM on it's original ip" + curl_test $1 $UNBLOCKED_DOM + unblocked_ip=$(mdig_resolve $IPV $UNBLOCKED_DOM) [ -n "$unblocked_ip" ] || { echo $UNBLOCKED_DOM does not resolve. tests not possible.