1 # Copyright (C) 2011-2014 Internet Systems Consortium, Inc. ("ISC")
3 # Permission to use, copy, modify, and/or distribute this software for any
4 # purpose with or without fee is hereby granted, provided that the above
5 # copyright notice and this permission notice appear in all copies.
7 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 # PERFORMANCE OF THIS SOFTWARE.
16 .
$SYSTEMTESTTOP/conf.sh
20 test -r $RANDFILE ||
$GENRANDOM 400 $RANDFILE
22 cp ns
1/root.db.
in ns
1/root.db
23 rm -f ns
1/root.db.signed
25 touch ns
2/trusted.conf
26 cp ns
2/bits.db.
in ns
2/bits.db
27 cp ns
2/bits.db.
in ns
2/retransfer.db
28 cp ns
2/bits.db.
in ns
2/retransfer3.db
31 cp ns
3/master.db.
in ns
3/master.db
32 cp ns
3/master.db.
in ns
3/dynamic.db
33 cp ns
3/master.db.
in ns
3/updated.db
34 cp ns
3/master.db.
in ns
3/expired.db
35 cp ns
3/master.db.
in ns
3/nsec3.db
36 cp ns
3/master.db.
in ns
3/externalkey.db
38 touch ns
4/trusted.conf
39 cp ns
4/noixfr.db.
in ns
4/noixfr.db
40 rm -f ns
4/noixfr.db.jnl
42 cp ns
5/named.conf.pre ns
5/named.conf
44 (cd ns3
; $SHELL -e sign.sh
)
45 (cd ns1
; $SHELL -e sign.sh
)