From owner-freebsd-questions@FreeBSD.ORG Thu Dec 14 09:08:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FA6816A407 for ; Thu, 14 Dec 2006 09:08:17 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CEE943CBD for ; Thu, 14 Dec 2006 09:06:37 +0000 (GMT) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 4EFFD5B763; Thu, 14 Dec 2006 01:08:11 -0800 (PST) Date: Thu, 14 Dec 2006 01:08:11 -0800 From: Christopher Cowart To: Tek Bahadur Limbu Message-ID: <20061214090811.GE18145@rescomp.berkeley.edu> Mail-Followup-To: Tek Bahadur Limbu , freebsd-questions@freebsd.org References: <20061214145735.658f44b4.teklimbu@wlink.com.np> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d8Lz2Tf5e5STOWUP" Content-Disposition: inline In-Reply-To: <20061214145735.658f44b4.teklimbu@wlink.com.np> User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Local DNS Caching not caching on external interface 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, 14 Dec 2006 09:08:17 -0000 --d8Lz2Tf5e5STOWUP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote: > Dear All, >=20 > I am very new to Bind and FreeBSD. >=20 > I have just configured a Local DNS server using the built-in Bind 9.3.1 > on a FreeBSD 5.4 machine. >=20 > My problem is that the machine can cache queries on the localhost and > loop back (127.0.0.1) interface only. >=20 > I have a public static IP on this machine too and I can't seem to query > the caching name server from my local network. >=20 > In Linux, this is no problem. I just can't seem to get Bind to work as > in my local network. It works only on the loopback interface. The default /etc/namedb/named.conf configuration file for BIND says: | // If named is being used only as a local resolver, this is a safe defaul= t. | // For named to be accessible to the network, comment this option, specify | // the proper IP address, or delete this option. | listen-on { 127.0.0.1; }; It looks like if you comment out that option, it will listen on * by default. You could also add the other IP address on which you want named to listen. --=20 Chris Cowart Network and Infrastructure Systems Administrator RSSP-IT, UC Berkeley "May all your pushes be popped" --d8Lz2Tf5e5STOWUP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFFgRR7V3SOqjnqPh0RAuAOAKCo03LrDjrNWebT3Q6rWLYOae/QLwCfWP9Y 7pEKCvadYLbrPXDEKXtJcI0= =PhiT -----END PGP SIGNATURE----- --d8Lz2Tf5e5STOWUP--