Make RPZ tests more readable

This commit is contained in:
Matthijs Mekking
2019-02-06 15:40:06 +01:00
committed by Matthijs Mekking
parent 9ecdb292c4
commit 8d392f9093
2 changed files with 144 additions and 126 deletions

View File

@@ -69,7 +69,10 @@ for NM in '' -2 -given -disabled -passthru -no-op -nodata -nxdomain -cname -wild
sed -e "/SOA/s/blx/bl$NM/g" ns3/base.db >ns3/bl$NM.db
done
# $1=directory, $2=domain name, $3=input zone file, $4=output file
# $1=directory
# $2=domain name
# $3=input zone file
# $4=output file
signzone () {
KEYNAME=`$KEYGEN -q -a rsasha256 -K $1 $2`
cat $1/$3 $1/$KEYNAME.key > $1/tmp