#!/bin/sh
-../pdns/sdig $nameserver $port $1 $2 recurse | sort
+../pdns/sdig $nameserver $port $1 $2 recurse | LC_ALL=C sort
-0 www2.arthur.example.net. IN A 3600 192.0.2.6
0 www.trillian.example.net. IN CNAME 3600 www2.arthur.example.net.
+0 www2.arthur.example.net. IN A 3600 192.0.2.6
Rcode: 0, RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0
Reply to question for qname='www.trillian.example.net.', qtype=A
-0 www.arthur.example.net. IN A 3600 192.0.2.2
0 www-d.prefect.example.net. IN CNAME 3600 www.arthur.example.net.
+0 www.arthur.example.net. IN A 3600 192.0.2.2
Rcode: 0, RD: 1, QR: 1, TC: 0, AA: 0, opcode: 0
Reply to question for qname='www-d.prefect.example.net.', qtype=A
#!/bin/sh
-../pdns/sdig $nameserver $port $1 $2 $3 | sort
+../pdns/sdig $nameserver $port $1 $2 $3 | LC_ALL=C sort
drill -a -p $port -o rd -D -S -k trustedkeys $1 $2 @$nameserver > $testname/drillchase.out 2>&1
echo RETVAL: $? >> $testname/drillchase.out
drill -a -p $port -o rd -D -k trustedkeys $1 $2 @$nameserver > $testname/drill.out 2>&1