summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-12-19 05:27:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-12-19 05:27:39 +0000
commitc55d1d11519d18671bf35f72153de4a108fbf30e (patch)
treea89d0d524d46dc574eb850fcbb69c7051e20b4d5 /etc
parent07035f9989099fd887d52e1a2f4bdbdf24e2a4ab (diff)
put zone files in /var/named/namedb. That way only /var/named/namedb must be owned by user named
Diffstat (limited to 'etc')
-rw-r--r--etc/mtree/4.4BSD.dist9
-rw-r--r--etc/namedb/named.boot6
2 files changed, 10 insertions, 5 deletions
diff --git a/etc/mtree/4.4BSD.dist b/etc/mtree/4.4BSD.dist
index 0bb68441c00..ba3019fa6c9 100644
--- a/etc/mtree/4.4BSD.dist
+++ b/etc/mtree/4.4BSD.dist
@@ -1,4 +1,4 @@
-# $OpenBSD: 4.4BSD.dist,v 1.62 1998/10/30 18:38:06 millert Exp $
+# $OpenBSD: 4.4BSD.dist,v 1.63 1998/12/19 05:27:38 millert Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@@ -1628,7 +1628,7 @@ msgs
..
# ./var/named
-named uname=named gname=bin mode=0755
+named
# ./var/named/dev
dev
@@ -1640,6 +1640,11 @@ etc
# ./var/named/etc
..
+# ./var/named/namedb
+namedb uname=named gname=bin mode=0755
+# ./var/named/namedb
+..
+
# ./var/named
..
diff --git a/etc/namedb/named.boot b/etc/namedb/named.boot
index 7fbfb532176..b23a8c85ce7 100644
--- a/etc/namedb/named.boot
+++ b/etc/namedb/named.boot
@@ -3,10 +3,10 @@
; boot file for secondary name server
; Note that there should be one primary entry for each SOA record.
-; NOTE: if you are not chroot'ing named, change directory to /var/named
+; NOTE: if you are not chroot'ing named, change directory to /var/named/namedb
; OpenBSD chroot's named by default
-;directory /var/named
-directory /
+;directory /var/named/namedb
+directory /namedb
; type domain source host/file backup file