From owner-freebsd-questions Thu Mar 29 15: 1:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 1401F37B718 for ; Thu, 29 Mar 2001 15:01:07 -0800 (PST) (envelope-from akbeech@anchoragerescue.org) Received: from galaxy.anchoragerescue.org (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id F1EF641C; Thu, 29 Mar 2001 14:01:05 -0900 (AKST) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: "James Greenfield" , Subject: Re: Pointing ndc at a different configuration file? Date: Thu, 29 Mar 2001 14:01:05 -0900 X-Mailer: KMail [version 1.2] References: <01e601c0b87f$e4700d80$4501a8c0@boubou> In-Reply-To: <01e601c0b87f$e4700d80$4501a8c0@boubou> MIME-Version: 1.0 Message-Id: <01032914010500.05457@galaxy.anchoragerescue.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday 29 March 2001 09:41, James Greenfield wrote: > I'm running FreeBSD 4.2-RELEASE, and up until now I've been running bind > 8.2.3-T6B. I've just installed 8.2.3-REL (not having realised up until > recently that T6B is a beta release, and the security advisory for released > in Jan preceded my setting up of the box). > > The system install (T6B) of named is in /usr/sbin/, while the ports install > (REL) is in /usr/local/sbin. It took a little while but I finally figured > out I need to run /usr/local/sbin/ndc instead of ndc (/usr/sbin/ndc is > found first in the path, what's the best way to change this? I don't want > to change the order of PATH) > > My question is this: the system bind installation looks for named.conf in > /etc/namedb. The ports installation looks for /etc/named.conf. What's the > 'right' way of changing this? Create a softlink from /etc/named.conf to > /etc/namedb/named.conf (like /etc/aliases)? > > Sorry if this is obvious :) > > James Greenfield make PREFIX=/usr PIDDIR=/var/run DESTETC=/etc/namedb DESTEXEC=/usr/libexec DESTRUN=/var/run DESTBIN=/usr/sbin DESTHELP=/usr/share/misc install This will replace the freebsd dist. version. Good luck, Beech ------------------------------------------------------------------- Beech Rintoul - Network Manager - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message