Blame bin/tests/system/tsiggss/setup.sh

Packit 5ce601
#!/bin/sh
Packit 5ce601
#
Packit 5ce601
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Packit 5ce601
#
Packit 5ce601
# This Source Code Form is subject to the terms of the Mozilla Public
Packit 5ce601
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit Service 704ed8
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
Packit 5ce601
#
Packit 5ce601
# See the COPYRIGHT file distributed with this work for additional
Packit 5ce601
# information regarding copyright ownership.
Packit 5ce601
Packit 5ce601
SYSTEMTESTTOP=..
Packit 5ce601
. $SYSTEMTESTTOP/conf.sh
Packit 5ce601
Packit 5ce601
test -r $RANDFILE || $GENRANDOM $RANDOMSIZE $RANDFILE
Packit 5ce601
Packit 5ce601
copy_setports ns1/named.conf.in ns1/named.conf
Packit 5ce601
Packit Service d3afd5
key=`$KEYGEN -Cq -K ns1 -a DSA -b 512 -r $RANDFILE -n HOST -T KEY key.example.nil.`
Packit 5ce601
cat ns1/example.nil.db.in ns1/${key}.key > ns1/example.nil.db