be compatible with new dnssec tool command line argument
usage; bug fixes
This commit is contained in:
@@ -4,21 +4,15 @@ zone=secure.example.
|
||||
infile=secure.example.db.in
|
||||
zonefile=secure.example.db
|
||||
|
||||
rm -f K$zone*.key
|
||||
rm -f K$zone*.private
|
||||
rm -f $zone*.keyset
|
||||
|
||||
keyname=`$KEYGEN -a RSA -b 768 -n zone $zone`
|
||||
|
||||
tag=`echo $keykname | sed -n 's/^.*\+\([0-9][0-9]*\)$/\1/p'`
|
||||
tag=`echo $keyname | sed -n 's/^.*\+\([0-9][0-9]*\)$/\1/p'`
|
||||
|
||||
echo "key=$keyname, tag=$tag"
|
||||
|
||||
pubkeyfile="$keyname.key"
|
||||
$KEYSETTOOL $keyname.key
|
||||
|
||||
$KEYSETTOOL $zone $tag/001
|
||||
|
||||
cat $infile $pubkeyfile >$zonefile
|
||||
cat $infile $keyname.key >$zonefile
|
||||
|
||||
$SIGNER -v 1 -o $zone $zonefile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user