Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 14:01:05 -0900
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        "James Greenfield" <james@pagearts.co.za>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Pointing ndc at a different configuration file?
Message-ID:  <01032914010500.05457@galaxy.anchoragerescue.org>
In-Reply-To: <01e601c0b87f$e4700d80$4501a8c0@boubou>
References:  <01e601c0b87f$e4700d80$4501a8c0@boubou>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01032914010500.05457>