Fix for RT #23136 task 1.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: named.conf,v 1.46 2011/03/21 01:02:39 marka Exp $ */
|
||||
/* $Id: named.conf,v 1.47 2011/05/19 00:31:57 smann Exp $ */
|
||||
|
||||
// NS3
|
||||
|
||||
@@ -223,4 +223,10 @@ zone "nsec3chain-test" {
|
||||
masters { 10.53.0.2; };
|
||||
};
|
||||
|
||||
zone "expiring.example" {
|
||||
type master;
|
||||
allow-update { any; };
|
||||
file "expiring.example.db.signed";
|
||||
};
|
||||
|
||||
include "trusted.conf";
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: sign.sh,v 1.40 2011/03/31 15:58:51 each Exp $
|
||||
# $Id: sign.sh,v 1.41 2011/05/19 00:31:57 smann Exp $
|
||||
|
||||
SYSTEMTESTTOP=../..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
@@ -370,3 +370,13 @@ echo '$INCLUDE "'"$signedfile"'"' >> $zonefile
|
||||
: > $signedfile
|
||||
$SIGNER -P -S -r $RANDFILE -D -o $zone $zonefile > /dev/null 2>&1
|
||||
|
||||
zone="expiring.example."
|
||||
infile="expiring.example.db.in"
|
||||
zonefile="expiring.example.db"
|
||||
signedfile="expiring.example.db.signed"
|
||||
kskname=`$KEYGEN -q -r $RANDFILE $zone`
|
||||
zskname=`$KEYGEN -q -r $RANDFILE -f KSK $zone`
|
||||
cp $infile $zonefile
|
||||
$SIGNER -S -r $RANDFILE -e now+1mi -o $zone $zonefile > /dev/null 2>&1
|
||||
rm -f ${zskname}.private ${kskname}.private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user