summaryrefslogtreecommitdiffabout
path: root/tests/bind.conf
Unidiff
Diffstat (limited to 'tests/bind.conf') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/bind.conf126
1 files changed, 126 insertions, 0 deletions
diff --git a/tests/bind.conf b/tests/bind.conf
new file mode 100644
index 0000000..2579a58
--- a/dev/null
+++ b/tests/bind.conf
@@ -0,0 +1,126 @@
1# Sample Bind configuration file for Grecs testsuite.
2# Nothing to copyright, really:)
3
4acl upd-dyn-vpn {
5 key vpn.;
6 10.11.0.1;
7 10.10.0.1;
8};
9
10acl foo-acl {
11 key foo.;
12};
13
14options {
15 version "Grecs testsuite";
16 coresize 0;
17 directory "/etc/namedb";
18 pid-file "/var/log/bind/named.pid";
19 allow-transfer {
20 foo-acl;
21 };
22 allow-query {
23 any;
24 };
25 serial-query-rate 5;
26 max-journal-size 5m;
27 check-names master warn;
28 check-names slave warn;
29 check-names response ignore;
30};
31
32 logging{
33 channel default_channel{
34 file "/var/log/bind/named.log" versions 9 size 524288;
35 print-time yes;
36 print-severity yes;
37 };
38 channel debug_channel {
39 file "/var/log/bind/named.run" versions 9 size 524288;
40 print-time yes;
41 print-severity yes;
42 severity dynamic;
43 };
44 channel security_channel {
45 file "/var/log/bind/security" versions 9 size 524288;
46 print-time yes;
47 print-severity yes;
48 };
49 channel xfer_in_channel {
50 file "/var/log/bind/named-xfer.in" versions 9 size 524288;
51 print-time yes;
52 };
53 channel xfer_out_channel {
54 file"/var/log/bind/named-xfer.out" versions 9 size 524288;
55 print-time yes;
56 };
57 channel lamers_channel {
58 file "/var/log/bind/lamers.log" versions 5 size 524288;
59 print-time yes;
60 print-category yes;
61 };
62 channel update_channel {
63 file "/var/log/bind/update.log" versions 9 size 524288;
64 print-time yes;
65 print-category yes;
66 severity debug 5;
67 };
68 channel notify_channel {
69 file "/var/log/bind/notify.log" versions 9 size 524288;
70 print-time yes;
71 print-category yes;
72 };
73 channel query_channel {
74 file "/var/log/bind/query.log" versions 9 size 524288;
75 print-time yes;
76 };
77 category security {
78 security_channel;
79 };
80 category queries {
81 # query_channel;
82 null;
83 };
84 category default {
85 default_channel;
86 debug_channel;
87 };
88 category xfer-in {
89 xfer_in_channel;
90 };
91 category xfer-out {
92 xfer_out_channel;
93 };
94 category delegation-only {
95 lamers_channel;
96 };
97 category lame-servers {
98 lamers_channel;
99 };
100 category update {
101 update_channel;
102 };
103 category notify {
104 notify_channel;
105 };
106};
107
108include "bind.keys";
109
110controls {
111 inet 127.0.0.1 port 953
112 allow { 127.0.0.1; } keys { "rndc-key"; };
113};
114
115view "internal" {
116 match-clients {
117 10.0.0.0/8;
118 };
119 include "bind.int.conf";
120};
121
122view "external" {
123 include "bind.ext.conf";
124 include "bind.dlz";
125};
126# Finis coronat opus

Return to:

Send suggestions and report system problems to the System administrator.