diff --git a/install_easy.sh b/install_easy.sh index d0913c4..a6f056e 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -801,7 +801,7 @@ check_dns_spoof() { # $1 - domain # $2 - public DNS - echo $1 | "$EXEDIR/mdig/mdig" --threads=10 --family=4 >"$DNSCHECK_DIG1" + echo $1 | "$EXEDIR/mdig/mdig" --family=4 >"$DNSCHECK_DIG1" nslookup $1 $2 | sed -n '/Name:/,$p' | grep ^Address | grep -oE '([0-9]{1,3}\.){3}[0-9]{1,3}' >"$DNSCHECK_DIG2" # check whether system resolver returns anything other than public DNS grep -qvFf "$DNSCHECK_DIG2" "$DNSCHECK_DIG1"