summaryrefslogtreecommitdiffstats
path: root/named-slave.conf
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-05-23 19:33:20 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-05-23 19:33:20 +0100
commita6ee39bd3534736436ba76aaac3e65fa99a56aec (patch)
tree62d981171cfdcde77fcaa6bfe5e085adc4d8c408 /named-slave.conf
downloaddns-a6ee39bd3534736436ba76aaac3e65fa99a56aec.tar.xz
Initial commit
Diffstat (limited to 'named-slave.conf')
-rw-r--r--named-slave.conf61
1 files changed, 61 insertions, 0 deletions
diff --git a/named-slave.conf b/named-slave.conf
new file mode 100644
index 0000000..9e2aece
--- /dev/null
+++ b/named-slave.conf
@@ -0,0 +1,61 @@
+// vi: ft=named
+
+options {
+ directory "/var/named";
+ pid-file "/run/named/named.pid";
+ auth-nxdomain yes;
+ datasize default;
+ listen-on-v6 { any; };
+ allow-query-cache { none; };
+ allow-query { any; };
+ allow-transfer { none; };
+ allow-update { none; };
+ recursion no;
+ version none;
+ hostname none;
+ server-id none;
+ allow-notify {
+ 212.71.254.33; // theos
+ 2a01:7e00::f03c:91ff:fe6e:f996; // theos
+ };
+};
+
+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 "kyriasis.com" {
+ type slave;
+ file "kyriasis.com.zone";
+ masters {
+ 212.71.254.33; // theos
+ 2a01:7e00::f03c:91ff:fe6e:f996; // theos
+ };
+};
+
+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; };
+};
+