mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: ip block test unblocked domain itself
This commit is contained in:
parent
efc13032a1
commit
ceb4782613
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user