1/*
2 * Copyright (C) 2004, 2007, 2011, 2013  Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 2000, 2001  Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* Id: named.conf,v 1.16 2011/05/06 23:47:29 tbox Exp  */
19
20controls { /* empty */ };
21
22options {
23	query-source address 10.53.0.2 dscp 4;
24	notify-source 10.53.0.2 dscp 5;
25	transfer-source 10.53.0.2 dscp 6;
26	port 5300;
27	pid-file "named.pid";
28	listen-on { 10.53.0.2; };
29	listen-on-v6 { none; };
30	recursion yes;
31	acache-enable yes;
32	notify yes;
33};
34
35key altkey {
36	algorithm hmac-md5;
37	secret "1234abcd8765";
38};
39
40view alternate {
41	match-clients { key altkey; };
42
43	zone "update.nil" {
44		type slave;
45		masters { 10.53.0.1; };
46		file "update.alt.bk";
47		allow-transfer { any; };
48	};
49};
50
51view primary {
52	match-clients { any; };
53
54	zone "example.nil" {
55		type slave;
56		masters { 10.53.0.1; };
57		file "example.bk";
58		allow-transfer { any; };
59	};
60
61	zone "update.nil" {
62		type slave;
63		masters { 10.53.0.1; };
64		file "update.bk";
65		allow-transfer { any; };
66	};
67};
68