blockcheck: ip block test unblocked domain itself

This commit is contained in:
bol-van 2024-06-20 12:51:27 +03:00
parent efc13032a1
commit ceb4782613

View File

@ -1236,6 +1236,9 @@ check_dpi_ip_block()
echo echo
echo "- IP block tests (requires manual interpretation)" 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) unblocked_ip=$(mdig_resolve $IPV $UNBLOCKED_DOM)
[ -n "$unblocked_ip" ] || { [ -n "$unblocked_ip" ] || {
echo $UNBLOCKED_DOM does not resolve. tests not possible. echo $UNBLOCKED_DOM does not resolve. tests not possible.