summaryrefslogtreecommitdiffstats
path: root/abs/extra/bind/named.conf
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-06 17:01:19 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-06 17:01:19 (GMT)
commitc57b3a01eca8dc44f169117c80293c31fbd963f8 (patch)
tree133dfca2ce47efe7a1338d2aac72e4bc886ea704 /abs/extra/bind/named.conf
parent457a813452de8c882ae36b5daf02624afac95855 (diff)
downloadlinhes_pkgbuild-c57b3a01eca8dc44f169117c80293c31fbd963f8.zip
linhes_pkgbuild-c57b3a01eca8dc44f169117c80293c31fbd963f8.tar.gz
linhes_pkgbuild-c57b3a01eca8dc44f169117c80293c31fbd963f8.tar.bz2
bind: replace dnsutils
Diffstat (limited to 'abs/extra/bind/named.conf')
-rw-r--r--abs/extra/bind/named.conf72
1 files changed, 72 insertions, 0 deletions
diff --git a/abs/extra/bind/named.conf b/abs/extra/bind/named.conf
new file mode 100644
index 0000000..827445d
--- /dev/null
+++ b/abs/extra/bind/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; };
+//};