summaryrefslogtreecommitdiff
path: root/etc/bind/named-dual.conf
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2007-12-16 21:34:57 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2007-12-16 21:34:57 +0000
commite3decd7d9fd3045a82bf2b50e1c532e53e343e91 (patch)
tree20225a553fdac9296b114e541cbe669e69dca2e2 /etc/bind/named-dual.conf
parentf1f1110d953f09c74f1fb075a2148face21acec4 (diff)
remove localhost. zone (localhost. queries are handled by /etc/hosts)
replace IPv4 and IPv6 loopback zones with BIND's autogenerated empty zones. move root.hint to /var/named/etc remove empty directory /var/named/standard
Diffstat (limited to 'etc/bind/named-dual.conf')
-rw-r--r--etc/bind/named-dual.conf26
1 files changed, 4 insertions, 22 deletions
diff --git a/etc/bind/named-dual.conf b/etc/bind/named-dual.conf
index 878c56804a2..4ce155d3b1b 100644
--- a/etc/bind/named-dual.conf
+++ b/etc/bind/named-dual.conf
@@ -1,4 +1,4 @@
-// $OpenBSD: named-dual.conf,v 1.7 2007/12/13 07:45:03 jakob Exp $
+// $OpenBSD: named-dual.conf,v 1.8 2007/12/16 21:34:56 jakob Exp $
//
// Example file for a named configuration with dual views,
// one processing recursive queries only and one processing
@@ -20,6 +20,8 @@ options {
listen-on { any; };
listen-on-v6 { any; };
+
+ empty-zones-enable yes;
};
logging {
@@ -31,29 +33,9 @@ view "recursive" {
match-recursive-only yes;
allow-recursion { clients; };
- // Standard zones
- //
zone "." {
type hint;
- file "standard/root.hint";
- };
-
- zone "localhost" {
- type master;
- file "standard/localhost";
- allow-transfer { localhost; };
- };
-
- zone "127.in-addr.arpa" {
- type master;
- file "standard/loopback";
- allow-transfer { localhost; };
- };
-
- zone "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 "standard/loopback6.arpa";
- allow-transfer { localhost; };
+ file "etc/root.hint";
};
zone "com" {