Move "named.conf" example configuration to "/etc" because that is where

named(8) looks for it. You can now really get a caching name server
by simply setting "named=yes" in "/etc/rc.conf" as documented in
The NetBSD Guide. This fixes PR bin/30662 by Christian Hattemer.
This commit is contained in:
tron 2005-08-30 10:58:33 +00:00
parent 0562a5484c
commit f851540ac2
4 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.158 2005/08/23 12:14:00 peter Exp $
# $NetBSD: mi,v 1.159 2005/08/30 10:58:33 tron Exp $
./.cshrc etc-util-etc
./.profile etc-util-etc
./dev/MAKEDEV etc-sys-etc
@ -67,10 +67,11 @@
./etc/mtree/NetBSD.dist etc-sys-etc
./etc/mtree/set.etc etc-sys-etc
./etc/mtree/special etc-sys-etc
./etc/named.conf etc-bind-etc
./etc/namedb/127 etc-bind-etc
./etc/namedb/localhost etc-bind-etc
./etc/namedb/loopback.v6 etc-bind-etc
./etc/namedb/named.conf etc-bind-etc
./etc/namedb/named.conf etc-obsolete obsolete
./etc/namedb/root.cache etc-bind-etc
./etc/netconfig etc-net-etc
./etc/networks etc-net-etc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.313 2005/05/22 14:34:20 lukem Exp $
# $NetBSD: Makefile,v 1.314 2005/08/30 10:58:33 tron Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -91,7 +91,7 @@ UTMPGRP= utmp
BIN1+= bootptab changelist csh.cshrc csh.login csh.logout daily \
daily.conf dm.conf floppytab ftpchroot ftpusers \
gettytab group hosts hosts.lpd inetd.conf lkm.conf locate.conf \
mailer.conf man.conf monthly monthly.conf mrouted.conf \
mailer.conf man.conf monthly monthly.conf mrouted.conf named.conf \
netconfig networks newsyslog.conf nsswitch.conf ntp.conf \
passwd.conf phones printcap profile protocols \
rbootd.conf rc rc.conf rc.lkm rc.local rc.subr rc.shutdown remote rpc \

View File

@ -1,4 +1,4 @@
# $NetBSD: named.conf,v 1.8 2002/02/26 08:48:35 itojun Exp $
# $NetBSD: named.conf,v 1.1 2005/08/30 10:58:33 tron Exp $
# boot file for secondary name server
# Note that there should be one primary entry for each SOA record.

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1 2004/05/16 09:53:09 lukem Exp $
# $NetBSD: Makefile,v 1.2 2005/08/30 10:58:33 tron Exp $
CONFIGFILES= 127 root.cache named.conf localhost loopback.v6
CONFIGFILES= 127 root.cache localhost loopback.v6
FILESDIR= /etc/namedb
FILESMODE= 644