diff options
author | root <root@rshg054.dnsready.net> | 2013-04-28 01:12:25 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-28 01:12:25 -0700 |
commit | f38edbff3878008c8b2ae1ca8a496c349763017b (patch) | |
tree | 4f9ff6891842a0a6dcd9c0c8424ec8f16527e023 /community/bind/named.conf | |
parent | a27a6af53095da314eca1d33911f72775dfc2bce (diff) |
Sun Apr 28 01:11:42 PDT 2013
Diffstat (limited to 'community/bind/named.conf')
-rw-r--r-- | community/bind/named.conf | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/community/bind/named.conf b/community/bind/named.conf new file mode 100644 index 000000000..4aaf19a49 --- /dev/null +++ b/community/bind/named.conf @@ -0,0 +1,64 @@ +// +// /etc/named.conf +// + +options { + directory "/var/named"; + pid-file "/run/named/named.pid"; + auth-nxdomain yes; + datasize default; +// Uncomment these to enable IPv6 connections support +// IPv4 will still work: +// listen-on-v6 { any; }; +// Add this for no IPv4: +// listen-on { none; }; + + // Default security settings. + 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"; + 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 "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; + print-time yes; + severity info; + }; + category xfer-in { xfer-log; }; + category xfer-out { xfer-log; }; + category notify { xfer-log; }; +}; + |