From owner-freebsd-questions@FreeBSD.ORG Fri May 19 12:32:20 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 3D6FC16A716 for ; Fri, 19 May 2006 12:32:20 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3320743D4C for ; Fri, 19 May 2006 12:32:19 +0000 (GMT) (envelope-from greenwood.andy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so731979uge for ; Fri, 19 May 2006 05:32:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uJoWqUGv+juuO5ua2eRsIVhED4zqdO393UeVco/CDCFQX/WqX8tkh3wYTJ6nQdNP+l0aaX7amwmSvzvP7XTewyd4jqBSDlZX6DjcXZbfLpobW5lPgMsrdH+EY6MvhKDrVFCCkl1WDXMnwqmkpvRl7n6DGyXq7AwFgrcu9K5Jn3M= Received: by 10.67.96.14 with SMTP id y14mr1404921ugl; Fri, 19 May 2006 05:32:18 -0700 (PDT) Received: by 10.66.251.9 with HTTP; Fri, 19 May 2006 05:32:18 -0700 (PDT) Message-ID: <3ee9ca710605190532p33836b63y3f6a8639052d64b8@mail.gmail.com> Date: Fri, 19 May 2006 08:32:18 -0400 From: "Andy Greenwood" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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:32:21 -0000 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? // 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; }; // Provide reverse mapping for the loopback IP zone "0.0.127.in-addr.arpa" { type master; file "localhost.rev"; notify no; }; When I execute named -u bind -fg I get this [root@behemoth ~]$ named -u bind -fg 19-May-2006 08:28:11.570 starting BIND 9.3.1 -u bind -fg 19-May-2006 08:28:11.583 loading configuration from '/etc/namedb/named.conf= ' 19-May-2006 08:28:11.586 listening on IPv4 interface dc1, 192.168.1.1#53 19-May-2006 08:28:11.591 none:0: open: /etc/namedb/rndc.key: file not found 19-May-2006 08:28:11.592 couldn't add command channel 127.0.0.1#953: file not found 19-May-2006 08:28:11.592 none:0: open: /etc/namedb/rndc.key: file not found 19-May-2006 08:28:11.592 couldn't add command channel ::1#953: file not fou= nd 19-May-2006 08:28:11.592 ignoring config file logging statement due to -g o= ption 19-May-2006 08:28:11.594 zone 0.0.127.in-addr.arpa/IN: loading master file localhost.rev: file not found 19-May-2006 08:28:11.596 running