named.conf 1.62 KB
Newer Older
David Lawrence's avatar
David Lawrence committed
1
/*
Brian Wellington's avatar
Brian Wellington committed
2
 * Copyright (C) 2000, 2001  Internet Software Consortium.
3
 *
David Lawrence's avatar
David Lawrence committed
4 5 6
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
7
 *
8 9 10 11 12 13 14 15
 * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
 * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
 * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
David Lawrence's avatar
David Lawrence committed
16 17
 */

18
/* $Id: named.conf,v 1.19 2001/09/19 21:19:51 gson Exp $ */
David Lawrence's avatar
David Lawrence committed
19

20 21
// NS3

Andreas Gustafsson's avatar
Andreas Gustafsson committed
22
options {
23
	query-source address 10.53.0.3;
24
	notify-source 10.53.0.3;
25
	transfer-source 10.53.0.3;
Andreas Gustafsson's avatar
Andreas Gustafsson committed
26
	port 5300;
Andreas Gustafsson's avatar
Andreas Gustafsson committed
27 28
	pid-file "named.pid";
	listen-on { 10.53.0.3; };
29
	listen-on-v6 { none; };
Andreas Gustafsson's avatar
Andreas Gustafsson committed
30 31 32 33 34 35
	recursion no;
	notify yes;
};

zone "." {
	type hint;
36
	file "../../common/root.hint";
Andreas Gustafsson's avatar
Andreas Gustafsson committed
37 38
};

Michael Sawyer's avatar
Michael Sawyer committed
39 40
zone "example" {
	type slave;
41
	masters { 10.53.0.2; };
Michael Sawyer's avatar
Michael Sawyer committed
42
	file "example.bk";
Michael Sawyer's avatar
Michael Sawyer committed
43
};
Michael Sawyer's avatar
Michael Sawyer committed
44

Andreas Gustafsson's avatar
Andreas Gustafsson committed
45 46 47 48 49 50
zone "secure.example" {
	type master;
	file "secure.example.db.signed";
	allow-update { any; };
};

Michael Sawyer's avatar
Michael Sawyer committed
51 52 53 54 55 56
zone "bogus.example" {
	type master;
	file "bogus.example.db.signed";
	allow-update { any; };
};

Andreas Gustafsson's avatar
Andreas Gustafsson committed
57 58 59 60 61 62
zone "insecure.example" {
	type master;
	file "insecure.example.db";
	allow-update { any; };
};

63 64 65 66
zone "keyless.example" {
	type master;
	file "keyless.example.db.signed";
};
Michael Sawyer's avatar
Michael Sawyer committed
67 68

include "trusted.conf";