summaryrefslogtreecommitdiff
path: root/etc/bind/named-simple.conf
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2008-01-03 21:20:26 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2008-01-03 21:20:26 +0000
commit6d7a18fee9432339d7bef7f194875f3fa8aa3b48 (patch)
treeaae5f446af8a14810945b88580c7e94f48d04445 /etc/bind/named-simple.conf
parent206b28b4f619d01b129ce54954bf46c28c0b36cc (diff)
revert back to using local zones for localhost. and IPv4/IPv6 reverse until
we've found a better solution for chrooted applications.
Diffstat (limited to 'etc/bind/named-simple.conf')
-rw-r--r--etc/bind/named-simple.conf20
1 files changed, 19 insertions, 1 deletions
diff --git a/etc/bind/named-simple.conf b/etc/bind/named-simple.conf
index b50219566a4..3da03a7396e 100644
--- a/etc/bind/named-simple.conf
+++ b/etc/bind/named-simple.conf
@@ -1,4 +1,4 @@
-// $OpenBSD: named-simple.conf,v 1.7 2007/12/16 21:34:56 jakob Exp $
+// $OpenBSD: named-simple.conf,v 1.8 2008/01/03 21:20:25 jakob Exp $
//
// Example file for a simple named configuration, processing both
// recursive and authoritative queries using one cache.
@@ -36,6 +36,24 @@ zone "." {
file "etc/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; };
+};
+
zone "com" {
type delegation-only;
};