From: Martin Mares Date: Sun, 21 Dec 2003 12:28:10 +0000 (+0000) Subject: chkdom has been removed. X-Git-Tag: v5.1~50 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a9eee0846b7c8d1188fadedcb564c202fdeef470;hp=875eada931df0271b7cf8e02aef0343aa25d89f4;p=nsc-5.git chkdom has been removed. --- diff --git a/bin/chkdom b/bin/chkdom deleted file mode 100755 index 26c0ab1..0000000 --- a/bin/chkdom +++ /dev/null @@ -1,12 +0,0 @@ -#!/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