+++ /dev/null
-#!/bin/sh
-rm -f /tmp/chkdom.out
-if [ -z "$1" ] ; then
- D=`cat cf/domains | sed '/^PRIMARY/{s/^PRIMARY(\([^,]*\)).*$/\1/;p;};/^SECONDARY/{s/^SECONDARY(\([^,]*\),.*).*$/\1/;p;};/^REVERSE([0-9]*\./{s/^REVERSE(\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\),.*)/\3.\2.\1.in-addr.arpa/;p;};d'`
- for dom in $D ; do
- echo "Checking $dom..."
- done
- host -a -D -C -A -L 10 -S -I _ -l $dom >>/tmp/chkdom.out 2>&1
-else
- host -a -D -C -A -L 10 -S -I _ -l $@ >>/tmp/chkdom.out 2>&1
-fi
-grep !!! /tmp/chkdom.out