named.conf.in revision 1.1.1.1
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12options {
13	query-source address 10.53.0.2 dscp 4;
14	notify-source 10.53.0.2 dscp 5;
15	transfer-source 10.53.0.2 dscp 6;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.2; };
19	listen-on-v6 { none; };
20	recursion yes;
21	notify yes;
22	serial-query-rate 1; // workaround for KB AA-01213
23};
24
25key altkey {
26	algorithm hmac-md5;
27	secret "1234abcd8765";
28};
29
30view alternate {
31	match-clients { key altkey; };
32
33	zone "update.nil" {
34		type slave;
35		masters { 10.53.0.1; };
36		file "update.alt.bk";
37		allow-transfer { any; };
38	};
39};
40
41view primary {
42	match-clients { any; };
43
44	zone "example.nil" {
45		type slave;
46		masters { 10.53.0.1; };
47		file "example.bk";
48		allow-transfer { any; };
49	};
50
51	zone "update.nil" {
52		type slave;
53		masters { 10.53.0.1; };
54		file "update.bk";
55		allow-transfer { any; };
56	};
57
58	zone "sample" {
59		type master;
60		allow-update { any; };
61		file "sample.db";
62	};
63};
64