summarylogtreecommitdiffstats
path: root/named.conf
diff options
context:
space:
mode:
authorPetr Špaček2021-09-16 13:15:37 +0200
committerPetr Špaček2021-09-16 13:25:54 +0200
commiteef546092b39642c000694c9d77fee9bb9344933 (patch)
tree156617a1a5749ae151902e2e890f07ec01b31dad /named.conf
downloadaur-eef546092b39642c000694c9d77fee9bb9344933.tar.gz
fork for bind-git
forked from svntogit-packages/packages/bind commit 73be3db67c7f6405864ee391917bed15f3f4bad6
Diffstat (limited to 'named.conf')
-rw-r--r--named.conf57
1 files changed, 57 insertions, 0 deletions
diff --git a/named.conf b/named.conf
new file mode 100644
index 000000000000..2ac668d4c38f
--- /dev/null
+++ b/named.conf
@@ -0,0 +1,57 @@
+// 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 "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; };
+//};