summaryrefslogtreecommitdiff
path: root/testing/bind/named.conf
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-23 22:47:30 +0000
committerroot <root@rshg047.dnsready.net>2011-05-23 22:47:30 +0000
commit87e20a64534e8f58ca4a4f84000b629e48569a98 (patch)
tree8c4b498a38d72459c7bc88bc02719b4849159d0f /testing/bind/named.conf
parent3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 (diff)
Mon May 23 22:47:30 UTC 2011
Diffstat (limited to 'testing/bind/named.conf')
-rw-r--r--testing/bind/named.conf64
1 files changed, 64 insertions, 0 deletions
diff --git a/testing/bind/named.conf b/testing/bind/named.conf
new file mode 100644
index 000000000..38fb12cbe
--- /dev/null
+++ b/testing/bind/named.conf
@@ -0,0 +1,64 @@
+//
+// /etc/named.conf
+//
+
+options {
+ directory "/var/named";
+ pid-file "/var/run/named/named.pid";
+ auth-nxdomain yes;
+ datasize default;
+// Uncomment these to enable IPv6 connections support
+// IPv4 will still work:
+// listen-on-v6 { any; };
+// Add this for no IPv4:
+// listen-on { none; };
+
+ // Default security settings.
+ allow-recursion { 127.0.0.1; };
+ allow-transfer { none; };
+ allow-update { none; };
+ version none;
+ hostname none;
+ server-id none;
+};
+
+zone "localhost" IN {
+ type master;
+ file "localhost.zone";
+ allow-transfer { any; };
+};
+
+zone "0.0.127.in-addr.arpa" IN {
+ type master;
+ file "127.0.0.zone";
+ allow-transfer { any; };
+};
+
+zone "." IN {
+ type hint;
+ file "root.hint";
+};
+
+//zone "example.org" IN {
+// type slave;
+// file "example.zone";
+// masters {
+// 192.168.1.100;
+// };
+// allow-query { any; };
+// allow-transfer { any; };
+//};
+
+logging {
+ channel xfer-log {
+ file "/var/log/named.log";
+ 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; };
+};
+