From owner-freebsd-questions@FreeBSD.ORG Fri May 19 12:54:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C862116A6C5 for ; Fri, 19 May 2006 12:54:36 +0000 (UTC) (envelope-from freminlins@gmail.com) Received: from gia.global.net.uk (gia.global.net.uk [80.189.91.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D2A643D45 for ; Fri, 19 May 2006 12:54:36 +0000 (GMT) (envelope-from freminlins@gmail.com) Received: from sunof.brightview.com ([80.189.91.77] helo=[192.168.253.140]) by gia.global.net.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.50 (FreeBSD)) id 1Fh4V0-000HWh-Hd; Fri, 19 May 2006 13:54:34 +0100 Message-ID: <446DC00A.4030905@gmail.com> Date: Fri, 19 May 2006 13:54:34 +0100 From: Fremlins User-Agent: Thunderbird 1.5 (X11/20060203) MIME-Version: 1.0 To: Andy Greenwood References: <3ee9ca710605190532p33836b63y3f6a8639052d64b8@mail.gmail.com> In-Reply-To: <3ee9ca710605190532p33836b63y3f6a8639052d64b8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -5.9 (-----) Cc: FreeBSD Questions Subject: Re: named always binds to "*" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:54:41 -0000 Andy Greenwood wrote: > I'm trying to set up my first jail, and I've got the below named.conf. > However, even with the query-source line below, it always binds to the > wildcard address! Anyone seen this behavior before and what can I do > to fix it? Yes, add the following under options: listen-on port 53 { 192.168.1.1; }; > // Specify the subnets we're going to serve > acl homenet { 192.168.0.0/16; } ; > options { > directory "/etc/namedb"; > allow-query { homenet; }; > listen-on { 192.168.1.1; }; > query-source address 192.168.1.1; > }; Frem.