named.conf 1.47 KB
Newer Older
David Lawrence's avatar
David Lawrence committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * Copyright (C) 2000  Internet Software Consortium.
 * 
 * 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.
 * 
 * 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
18 19
/* $Id: named.conf,v 1.11 2000/06/22 21:51:49 tale Exp $ */

20 21
// NS3

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

zone "." {
	type hint;
	file "root.hint";
};

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

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

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

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

Michael Sawyer's avatar
Michael Sawyer committed
61 62

include "trusted.conf";