From owner-freebsd-questions Tue Sep 28 23: 7:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 409C014F06 for ; Tue, 28 Sep 1999 23:07:47 -0700 (PDT) (envelope-from ust@cert.siemens.de) X-Envelope-Sender-Is: ust@cert.siemens.de (at relayer thoth.mch.sni.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id IAA10838; Wed, 29 Sep 1999 08:07:46 +0200 (MET DST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id IAA00860; Wed, 29 Sep 1999 08:07:45 +0200 (MET DST) Received: from alaska.cert.siemens.de (alaska.cert.siemens.de [139.23.202.134]) by mars.cert.siemens.de (8.9.3/8.9.3/Siemens CERT [ $Revision: 1.9 ]) with ESMTP id IAA31225; Wed, 29 Sep 1999 08:08:20 +0200 (CEST) Received: (from ust@localhost) by alaska.cert.siemens.de (8.9.3/8.9.3/alaska [ $Revision: 1.2 ]) id GAA58244; Wed, 29 Sep 1999 06:08:11 GMT (envelope-from ust) Date: Wed, 29 Sep 1999 08:08:11 +0200 From: Udo Schweigert To: Bohdan Tashchuk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help, I can't upgrade BIND Message-ID: <19990929080811.A58221@alaska.cert.siemens.de> References: <37F1A9F3.BD88E51F@easystreet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <37F1A9F3.BD88E51F@easystreet.com> X-Operating-System: FreeBSD 3.3-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 28, 1999 at 10:56:03PM -0700, Bohdan Tashchuk wrote: > Hi all, > > I'm new to FreeBSD, though I've used/administered other Unixes previously. > > I bought The Complete FreeBSD book and installed FreeBSD 3.2 which comes > with it. Things went well. This is for my router/firewall/DNS server for my > DSL connection. > > I set up BIND on FreeBSD to act as a cacheing DNS server. However, I > noticed that sometimes my DNS queries from my internal computer were acting > flakey. I noticed that quite often BIND on FreeBSD would fail to respond to > domain queries from my internal computer. BIND would usually respond 5 > seconds later when the sender timed out and retransmitted. > > I determined that BIND 8.1.2 ships with FreeBSD 3.2, and from the ports > stuff on the web I determined that BIND 8.2.1 is the current version. I > decided to upgrade, since this behavior could well be a BIND bug. > > I used the ports mechanism to get BIND 8.2.1 and then did > > make > make install > > I expected this to update various binaries, such as named. However, it > didn't. > I tracked this down to the fact that named was installed as part of FreeBSD > 3.2 into > > /usr/sbin/named > > However, the named in the port was installed into > > /usr/local/sbin/named > > The default root search path finds the old named, rather than the new one. > > I studied the Makefile and found a > > post-install > > option. But I can't figure out quite what that does. I tried it anyway, but > it doesn't overwrite the old named. > > My problem is that BIND is a large collection of executables and > documentation. I could go in and manually delete the old named, for > example, but how could I be sure I deleted all of the old stuff. For > example, if I didn't find all the old DOC I would be reading obsolete man > pages (assuming I have the same path problems for DOC as for the binaries). > > I guess my question is simple: > > How do I update BIND to the latest version > and get rid of all the old stuff installed by > FreeBSD 3.2 release? > To start the new named, add the following to /etc/rc.conf.local: named_program="/usr/local/sbin/named" named_flags="-c /etc/namedb/named.conf -u bind -g bind" named_enable="YES" Regards ------------------------------------------------------------------------------- Udo Schweigert || Voice : +49 89 636 42170 Siemens AG, Siemens CERT || Fax : +49 89 636 41166 ZT IK 3 || email : Udo.Schweigert@mchp.siemens.de D-81730 Muenchen / Germany || : ust@cert.siemens.de PGP fingerprint || 2A 53 F6 A6 30 59 64 02 6B C4 E0 73 B2 C9 6C E7 ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message