diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-05-23 19:33:20 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-05-23 19:33:20 +0100 |
commit | a6ee39bd3534736436ba76aaac3e65fa99a56aec (patch) | |
tree | 62d981171cfdcde77fcaa6bfe5e085adc4d8c408 /named.conf | |
download | dns-a6ee39bd3534736436ba76aaac3e65fa99a56aec.tar.xz |
Initial commit
Diffstat (limited to 'named.conf')
-rw-r--r-- | named.conf | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/named.conf b/named.conf new file mode 100644 index 0000000..4d903e3 --- /dev/null +++ b/named.conf @@ -0,0 +1,59 @@ +// vim: 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; + notify no; + also-notify {178.79.157.58;}; +}; + +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" IN { + type master; + file "/home/kyrias/dns/kyriasis.com.zone"; + allow-transfer { + 178.79.157.58; // lucifer + 2a01:7e00::f03c:91ff:fe69:1787; // lucifer + }; + notify explicit; +}; + +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; }; +}; |