summaryrefslogtreecommitdiffstats
path: root/contrib/bind/bin/named/test/named.conf
blob: 0e43eac1afb866dd865edd3b291e30b9e7427d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// This is a configuration file for named (from BIND 8.1 or later).
// It would normally be installed as /etc/named.conf.

options {
//	directory "/var/named";
	check-names master warn;		/* default. */
	datasize 20M;
	deallocate-on-exit yes;
	listen-on { 10.0.0.53; };
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	check-names fail;
	allow-update { none; };
	allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "127.0.0.zone";
	check-names fail;
	allow-update { none; };
	allow-transfer { any; };
};

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

logging {
        channel xfer-log {
                file "/var/tmp/bind-xfer.log" versions unlimited size 10m;
                print-category yes;
                print-severity yes;
                print-time yes;
                severity info;
        };
        category xfer-in { xfer-log; };
        category xfer-out { xfer-log; };
        category notify { xfer-log; };
        category load { xfer-log; };
};
OpenPOWER on IntegriCloud