Home | History | Annotate | Line # | Download | only in ns8
      1 #!/bin/sh -e
      2 
      3 # Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      4 #
      5 # SPDX-License-Identifier: MPL-2.0
      6 #
      7 # This Source Code Form is subject to the terms of the Mozilla Public
      8 # License, v. 2.0.  If a copy of the MPL was not distributed with this
      9 # file, you can obtain one at https://mozilla.org/MPL/2.0/.
     10 #
     11 # See the COPYRIGHT file distributed with this work for additional
     12 # information regarding copyright ownership.
     13 
     14 . ../../conf.sh
     15 
     16 for zone in example01.com example02.com example03.com example04.com \
     17   example05.com example06.com example07.com example08.com \
     18   example09.com example10.com example11.com example12.com \
     19   example13.com example14.com example15.com example16.com; do
     20   rm -f K${zone}.+*+*.key
     21   rm -f K${zone}.+*+*.private
     22   keyname=$($KEYGEN -q -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone)
     23   keyname=$($KEYGEN -q -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone -f KSK $zone)
     24   cp example.com.db.in ${zone}.db
     25   $SIGNER -S -T 3600 -O raw -L 2000042407 -o ${zone} ${zone}.db >/dev/null 2>&1
     26 done
     27 
     28 for zone in example unsigned-serial-test; do
     29   rm -f K${zone}.+*+*.key
     30   rm -f K${zone}.+*+*.private
     31   keyname=$($KEYGEN -q -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone $zone)
     32   keyname=$($KEYGEN -q -a $DEFAULT_ALGORITHM -b $DEFAULT_BITS -n zone -f KSK $zone)
     33   cp example.db.in ${zone}.db
     34 done
     35