xref: /minix3/external/bsd/bind/dist/bin/tests/system/resolver/ns1/named.conf (revision 00b67f09dd46474d133c95011a48590a8e8f94c7)
1/*
2 * Copyright (C) 2004, 2007, 2009, 2013, 2014  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.15 2009/05/29 23:47:49 tbox Exp  */
19
20controls { /* empty */ };
21
22options {
23	query-source address 10.53.0.1 dscp 1;
24	notify-source 10.53.0.1 dscp 2;
25	transfer-source 10.53.0.1 dscp 3;
26	port 5300;
27	pid-file "named.pid";
28	listen-on { 10.53.0.1; };
29	listen-on-v6 { none; };
30	recursion yes;
31	acache-enable yes;
32	deny-answer-addresses { 192.0.2.0/24; 2001:db8:beef::/48; }
33		 except-from { "example.org"; };
34	deny-answer-aliases { "example.org"; }
35		except-from { "goodcname.example.net";
36			      "gooddname.example.net"; };
37	allow-query {!10.53.0.8; any; };
38};
39
40server 10.42.23.3/32 {
41     notify-source 10.42.22.1;
42     query-source address 10.42.22.1 port 0;
43     transfer-source 10.42.22.1;
44};
45
46server fd92:7065:b8e:ffff::1000 {
47     notify-source-v6 fd92:7065:b8e:ffff::1001;
48     query-source-v6 address fd92:7065:b8e:ffff::1001 port 0;
49     transfer-source-v6 fd92:7065:b8e:ffff::1001;
50};
51
52zone "." {
53	type hint;
54	file "root.hint";
55};
56
57