From: Bert Hubert Date: Tue, 18 Jan 2011 08:37:13 +0000 (+0000) Subject: add tools to compare pdns output to that of other servers X-Git-Tag: auth-3.0~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c6d26c751a16a2349e3822ffc22b8388d15ba96;p=pdns add tools to compare pdns output to that of other servers git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1891 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dnssec-scripts/gencmpquestions b/pdns/dnssec-scripts/gencmpquestions new file mode 100755 index 000000000..aaae2f46d --- /dev/null +++ b/pdns/dnssec-scripts/gencmpquestions @@ -0,0 +1,8 @@ +#!/bin/bash +PDNSPORT=5300 +CMPPORT=53 + +awk '{print $1, $4}' $1 | egrep -v 'RRSIG|NSEC3' | sort -u | \ +while read a b; do dig $a $b @127.0.0.1 -p $PDNSPORT +dnssec +noauth | grep \ +-v ^\; > output.$a-$b.pdns ; dig +dnssec $a $b @127.0.0.1 -p $CMPPORT +noauth | \ +grep -v ^\; > output.$a-$b.nsd; done diff --git a/pdns/dnssec-scripts/gendiff b/pdns/dnssec-scripts/gendiff new file mode 100755 index 000000000..8fab684f4 --- /dev/null +++ b/pdns/dnssec-scripts/gendiff @@ -0,0 +1,7 @@ +#!/bin/bash + +for a in output.*.pdns +do + echo $a + diff -uBb $a $(echo $a | sed 's/pdns/nsd/g') +done \ No newline at end of file