3 # Copyright (C) 2004, 2007, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (C) 2001 Internet Software Consortium.
6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 # PERFORMANCE OF THIS SOFTWARE.
19 .
$SYSTEMTESTTOP/conf.sh
21 rm -f ns
1/*.db ns
1/*.jnl ns
3/*.jnl ns
4/*.db ns
4/*.jnl
23 cat <<EOF >ns1/named.conf
25 query-source address 10.53.0.1;
26 notify-source 10.53.0.1;
27 transfer-source 10.53.0.1;
30 listen-on { 10.53.0.1; };
31 listen-on-v6 { none; };
37 secret "1234abcd8765";
38 algorithm hmac-sha256;
42 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
46 # Setup initial db files for ns3
47 cp ns
3/mytest0.db ns
3/mytest.db
48 cp ns
3/subtest0.db ns
3/subtest.db
49 $SHELL ..
/genzone.sh
3 > ns
3/large.db
50 awk 'END { for (i = 0; i < 10000; i++) printf("record%d 10 IN TXT this is record %d\n", i, i) }' < /dev
/null
>> ns
3/large.db