summarylogtreecommitdiffstats
path: root/named.conf
diff options
context:
space:
mode:
authorAllen Zhong2015-06-08 17:19:02 +0800
committerAllen Zhong2015-06-08 17:19:02 +0800
commit7d2d6a49153365090e277b33af1b7be5107895b2 (patch)
tree0f10cf65226dee74a748d2cf3bc02f68a5be893b /named.conf
downloadaur-7d2d6a49153365090e277b33af1b7be5107895b2.tar.gz
migrate from aur3: bind-rl 9.10.1.P1-1
Diffstat (limited to 'named.conf')
-rw-r--r--named.conf72
1 files changed, 72 insertions, 0 deletions
diff --git a/named.conf b/named.conf
new file mode 100644
index 000000000000..827445d3b2bd
--- /dev/null
+++ b/named.conf
@@ -0,0 +1,72 @@
+// vim:set ts=4 sw=4 et:
+
+options {
+ directory "/var/named";
+ pid-file "/run/named/named.pid";
+
+ // Uncomment these to enable IPv6 connections support
+ // IPv4 will still work:
+ // listen-on-v6 { any; };
+ // Add this for no IPv4:
+ // listen-on { none; };
+
+ 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";
+};
+
+zone "0.0.127.in-addr.arpa" IN {
+ type master;
+ file "127.0.0.zone";
+};
+
+zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
+ type master;
+ file "localhost.ip6.zone";
+};
+
+zone "255.in-addr.arpa" IN {
+ type master;
+ file "empty.zone";
+};
+
+zone "0.in-addr.arpa" IN {
+ type master;
+ file "empty.zone";
+};
+
+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;
+// severity info;
+// };
+// category xfer-in { xfer-log; };
+// category xfer-out { xfer-log; };
+// category notify { xfer-log; };
+//};