aboutsummaryrefslogtreecommitdiff
path: root/tests/bind.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bind.conf')
-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
--- /dev/null
+++ b/tests/bind.conf
@@ -0,0 +1,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.