No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / bin / tests / system / ixfr / setup.sh
blobeba4adf024f51b3dea45d6206a9ffb426430a09a
1 #!/bin/sh
3 # Copyright (C) 2004, 2007 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.
18 # Id: setup.sh,v 1.4 2007/06/19 23:47:03 tbox Exp
20 rm -f ns1/*.db ns1/*.jnl
22 cat <<EOF >ns1/named.conf
23 options {
24 query-source address 10.53.0.1;
25 notify-source 10.53.0.1;
26 transfer-source 10.53.0.1;
27 port 5300;
28 pid-file "named.pid";
29 listen-on { 10.53.0.1; };
30 listen-on-v6 { none; };
31 recursion no;
32 notify yes;
35 key rndc_key {
36 secret "1234abcd8765";
37 algorithm hmac-md5;
40 controls {
41 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
43 EOF