From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 01:58:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04E62106564A for ; Thu, 1 Jan 2009 01:58:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1598FC16 for ; Thu, 1 Jan 2009 01:58:33 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n011wK0m065854; Thu, 1 Jan 2009 12:58:21 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 1 Jan 2009 12:58:20 +1100 (EST) From: Ian Smith To: lenny@edpausa.com In-Reply-To: <20081231200739.4430E106571E@hub.freebsd.org> Message-ID: <20090101121943.T28770@sola.nimnet.asn.au> References: <20081231200739.4430E106571E@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: named won't bind to external interface and ignores other options. 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: Thu, 01 Jan 2009 01:58:34 -0000 On Wed, 31 Dec 2008 10:03:45 -0500 (EST) lenny@edpausa.com wrote: > > bind 9.4.2/FreeBSD 7.0 seems to be ignoring many settings I enter in > /etc/namedb/named.conf. zones are being properly served internally, but > can't query or transfer from the outside. > listen-on {216.154.117.227; 192.168.1.1;}; > listen-on-v6 { none; }; I wonder if the spaces around curly braces that named examples always use are mandatory? As in listen-on { 216.154.117.227; 192.168.1.1; }; > tcp6 0 0 ::1.953 *.* LISTEN > tcp4 0 0 127.0.0.1.953 *.* LISTEN > tcp4 0 0 192.168.1.1.53 *.* LISTEN Looks like it's not seeing named.conf, assuming that 216.154.117.227 exists as the address of a local interface at the time when named is started, as Mel mentioned. This can be a problem with ppp or mpd .. What does 'realpath /etc/named' say? Are you using the FreeBSD default: % realpath /etc/namedb /var/named/etc/namedb % ls -l /etc/namedb lrwxr-xr-x 1 root wheel 21 Dec 12 02:37 /etc/namedb -> /var/named/etc/namedb If you run '/etc/rc.d/named stop' and then '/etc/rc.d/named start', what shows up in /var/log/messages ? What's in /etc/rc.conf concerning named ? Any clues from 'rndc status'? cheers, Ian