]> mj.ucw.cz Git - nsc-5.git/commitdiff
chkdom has been removed.
authorMartin Mares <mj@ucw.cz>
Sun, 21 Dec 2003 12:28:10 +0000 (12:28 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 21 Dec 2003 12:28:10 +0000 (12:28 +0000)
bin/chkdom [deleted file]

diff --git a/bin/chkdom b/bin/chkdom
deleted file mode 100755 (executable)
index 26c0ab1..0000000
+++ /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