Revision [430]
This is an old revision of dotFurStatus made by AvoYager on 2007-07-15 17:16:34.
Tue Mar 9 05:25:07 EST 2010
fur is mastered by ns1.ns.ph2network.org. ;; datestamped 105696
reply is mastered by from unexpected datestamped 105696
source: is mastered by 58.6.115.42#53, expected datestamped 105696
82.229.244.191#53 is mastered by datestamped 105696
Responding Hosts
What's new
1,18c1
< Thu Apr 23 05:57:39 EDT 2009
< alexis.fur has address 71.182.7.49
< jenna.fur has address 77.240.4.210
< mail.alexis.fur has address 71.182.7.49
< mail.jenna.fur has address 77.240.4.211
< mail.miqu.fur has address 77.240.4.211
< mail.nic.fur has address 77.240.4.211
< miqu.fur has address 77.240.4.210
< nic.fur has address 77.240.4.210
< opennic.fur has address 77.240.4.210
< www.alexis.fur has address 71.182.7.49
< www.jenna.fur has address 77.240.4.210
< www.miqu.fur has address 77.240.4.210
< www.nic.fur has address 77.240.4.210
< www.opennic.fur has address 77.240.4.210
< 71.182.7.49 ping:yes
< 77.240.4.210 ping:yes
< 77.240.4.211 ping:yes
---
> Tue Jun 2 05:39:01 EST 2009
The Details
Sun Jul 31 05:41:01 UTC 2011
All Hosts
What's new
1,16c1
< Thu Apr 23 05:57:15 EDT 2009
< alexis.fur. alexis.fur has address 71.182.7.49
< fur. fur has no A record
< jenna.fur. jenna.fur has address 77.240.4.210
< mail.alexis.fur. mail.alexis.fur has address 71.182.7.49
< mail.jenna.fur. mail.jenna.fur has address 77.240.4.211
< mail.miqu.fur. mail.miqu.fur has address 77.240.4.211
< mail.nic.fur. mail.nic.fur has address 77.240.4.211
< miqu.fur. miqu.fur has address 77.240.4.210
< nic.fur. nic.fur has address 77.240.4.210
< opennic.fur. opennic.fur has address 77.240.4.210
< www.alexis.fur. www.alexis.fur has address 71.182.7.49
< www.jenna.fur. www.jenna.fur has address 77.240.4.210
< www.miqu.fur. www.miqu.fur has address 77.240.4.210
< www.nic.fur. www.nic.fur has address 77.240.4.210
< www.opennic.fur. www.opennic.fur has address 77.240.4.210
---
> Tue Jun 2 05:39:01 EST 2009
The Details
Sun Jul 31 05:40:31 UTC 2011
The Script
#!/bin/bash
# file: audit.sh
# Modifications
# avo 20 Sep 2007 (Original author)
# BrianKoontz 01Jun2009 (Modified zone list)
#zone_list=`dig +norecurse +short tlds.opennic.glue txt |sed s/\"//g |cut -d" " -f3-`
#zone_list=${zone_list//fur/}
#zone_list=${zone_list//oss/}
#zone=
zone="opennic.glue bbs free fur geek indy ing null oss parody gopher"
zone_list=${zone}
############################
audit () {
test -e ${outfile}.log && mv -f ${outfile}.log ${outfile}.last
date >${outfile}.log
for each in `dig axfr ${zone} @58.6.115.46 |grep IN |cut -f1 |sort |uniq`
do echo "$each `host -W1 -ta $each`" |head -1 >> ${outfile}.log
done
test -e ${outfile}.last && diff ${outfile}.last ${outfile}.log > ${outfile}.diff
}
############################
summarize () {
sumfile=${zone}-summary
test -e ${sumfile}.log && mv -f ${sumfile}.log ${sumfile}.last
date >${sumfile}.log
grep "\.${zone}\..*has address" ${outfile}.log |cut -d " " -f 2-5 |sort >> ${sumfile}.log
grep "\.${zone}\..*has address" ${outfile}.log |sed s/^.*address.// |sort |uniq > ips.log
for each in `cat ips.log`
do
echo -n "$each ping:" >> ${sumfile}.log
if ping -c1 -q -W1 $each >/dev/null
then echo yes >> ${sumfile}.log
else echo no >> ${sumfile}.log
fi
done
rm ips.log
test -e ${sumfile}.last && diff ${sumfile}.last ${sumfile}.log > ${sumfile}.diff
}
############################
sumfails () {
failfile=${zone}-fail
date >${failfile}.log
grep "\(timed out\)\|\(SERVFAIL\)" ${outfile}.log |sort > ${failfile}.log
}
############################
build_links () {
linkfile=${zone}-links.html
droplist="ns mail dns. localhost"
passes () {
for each in $droplist
do expr "$link" : "$each" >/dev/null && return 1
done
return 0
}
linklist=`grep " has address " ${zone}-summary.log | cut -d" " -f1`
dstamp=`date`
cat >$linkfile
$zone links
${dstamp}
required: www.opennic.${zone}
EOF
for link in $linklist
do
if passes $link
then echo " $link " >>$linkfile
fi
done
cat >>$linkfile
CNAMEs not shown
EOF
}
############################
for zone in $zone_list
do \
outfile=${zone}-audit
audit
summarize
sumfails
build_links
done
exit 0
CategoryAuditing
CategoryHostmastering