From owner-freebsd-ports@freebsd.org Tue Mar 29 20:45:31 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91D7EAE2726 for ; Tue, 29 Mar 2016 20:45:31 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 72A171890 for ; Tue, 29 Mar 2016 20:45:31 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u2TKjMsL090850; Tue, 29 Mar 2016 13:45:26 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201603292045.u2TKjMsL090850@gw.catspoiler.org> Date: Tue, 29 Mar 2016 13:45:22 -0700 (PDT) From: Don Lewis Subject: Re: Issue with Bind-9.10 To: petros.fraser@gmail.com cc: freebsd-ports@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 20:45:31 -0000 On 29 Mar, Peter Fraser wrote: > Hi All > I upgraded from Bind 9.9x to bind910-9.10.3P4 on FreeBSD-9.3-RELEASE-p33. > During the installation from ports, I checked RRL(Response Rate Limiting) > After the installation I checked and resolves are still working. I > restarted the service and no errors. My problem now is that when I use the > option rate-limit { responses-per-second 10; }; and reload bind I get the > error, unknown option rate-limit. Has anyone ever seen this error? > > I ran named -V as was suggested to me on another mailing list and > surprisingly, got this result below. It is still showing Bind-9.9.5 > although pkg info shows bind910-9.10.3P4 > BIND 9.9.5 (Extended Support Version) built by make with > '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' > '--enable-threads' '--enable-getifaddrs' '--disable-linux-caps' > '--with-openssl=/usr' '--with-randomdev=/dev/random' '--without-idn' > '--without-libxml2' Since you are running FreeBSD 9.3, which also has a copy of BIND in the base system, I suspect that the base version of named is getting executed instead of the ports version installed under /usr/local. When you installed the port, you should have seen the pkg-message, which says: * You will need to make sure that you have the following line * * in your /etc/rc.conf in order to have the startup script * * run the named version from the port: * * * * named_program="/usr/local/sbin/named" *