Проверка AXFR

cat << EOF | while read d; do whois $d | grep nserver | egrep -vi "ns1?.domain.net" | awk '{print $2}' | while read h; do dns=$(host $h 8.8.8.8 | grep "has address" | cut -d" " -f4); echo "EXEC: dig -b 5.4.2.3 axfr @$dns $d"; str=$(dig -b 5.4.2.3 axfr @$dns $d | wc -l); echo -n "Zone $d from $dns: $str strings == "; if [ "$str" -gt "5" ]; then echo "GOOD"; else echo "WARNING"; fi; done done