From owner-freebsd-questions Thu Mar 29 10:42:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from router.pagearts.co.za (router.pagearts.co.za [196.25.102.154]) by hub.freebsd.org (Postfix) with ESMTP id 4D05F37B71D for ; Thu, 29 Mar 2001 10:42:22 -0800 (PST) (envelope-from james@pagearts.co.za) Received: from boubou (localhost [127.0.0.1]) by router.pagearts.co.za (8.11.0/8.10.1) with SMTP id f2TIduu17225 for ; Thu, 29 Mar 2001 20:39:57 +0200 Message-ID: <01e601c0b87f$e4700d80$4501a8c0@boubou> From: "James Greenfield" To: Subject: Pointing ndc at a different configuration file? Date: Thu, 29 Mar 2001 20:41:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message