aboutsummaryrefslogtreecommitdiff
path: root/tests/bind.conf
blob: 2579a583ca652d6130c9ad8219712cad24229b94 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Sample Bind configuration file for Grecs testsuite.
# Nothing to copyright, really:)

acl upd-dyn-vpn {
	key vpn.;
	10.11.0.1;
	10.10.0.1;
};

acl foo-acl {
	key foo.;
};

options {
	version "Grecs testsuite";
	coresize 0;
	directory "/etc/namedb";
	pid-file  "/var/log/bind/named.pid";
	allow-transfer {
		foo-acl;
	};
	allow-query {
		any;
	};
	serial-query-rate 5;
	max-journal-size 5m;
	check-names master warn;
	check-names slave warn;
	check-names response ignore;
};

logging	{
	channel	default_channel	{
		file "/var/log/bind/named.log" versions 9 size 524288;
		print-time yes;
		print-severity yes;
	}; 
	channel debug_channel {
		file "/var/log/bind/named.run" versions 9 size 524288;
		print-time yes;
		print-severity yes;
		severity dynamic;
	};
	channel security_channel {
		file "/var/log/bind/security" versions 9 size 524288;
		print-time yes;
		print-severity yes;
	};	
	channel xfer_in_channel {
		file "/var/log/bind/named-xfer.in" versions 9 size 524288;
		print-time yes;
	};
	channel xfer_out_channel {
		file	"/var/log/bind/named-xfer.out" versions 9 size 524288;
		print-time yes;
	};
	channel lamers_channel {
		file 	"/var/log/bind/lamers.log" versions 5 size 524288;
		print-time yes;
		print-category yes;
	};
	channel update_channel {
		file "/var/log/bind/update.log" versions 9 size 524288;
		print-time yes;
                print-category yes;
		severity debug 5;
        };
	channel notify_channel {
		file "/var/log/bind/notify.log" versions 9 size 524288;
		print-time yes;
                print-category yes;
        };
	channel query_channel {
		file "/var/log/bind/query.log" versions 9 size 524288;
                print-time yes;
	};
	category security {
		security_channel;
	};
	category queries {
#		query_channel;
		null;
	};
	category default {
		default_channel;
		debug_channel;
	};
	category xfer-in {
		xfer_in_channel;	
	};
	category xfer-out {
		xfer_out_channel;
	};
	category delegation-only {
		lamers_channel;
	};
	category lame-servers {
		lamers_channel;
	};
	category update {
		update_channel;
	};
	category notify {
		notify_channel;
	};
};

include "bind.keys";

controls {
        inet 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
};

view "internal" {
	match-clients {
		10.0.0.0/8;
	};
	include "bind.int.conf";
};

view "external" {
	include "bind.ext.conf";
	include "bind.dlz";
};
# Finis coronat opus

Return to:

Send suggestions and report system problems to the System administrator.