diff options
author | George Rawlinson | 2021-12-24 07:28:33 +0000 |
---|---|---|
committer | George Rawlinson | 2021-12-24 07:28:52 +0000 |
commit | 388cc5ab3940ffb4ec3f79c8fba50b747f75bbfd (patch) | |
tree | ce7288f0c293561d705b028ec86bf393e91593f1 /named.conf | |
download | aur-388cc5ab3940ffb4ec3f79c8fba50b747f75bbfd.tar.gz |
addpkg: bind-development 9.17.21-1
Diffstat (limited to 'named.conf')
-rw-r--r-- | named.conf | 57 |
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; }; +//}; |