From owner-freebsd-questions Tue Jul 23 23:56: 4 2002 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 BC8C637B400 for ; Tue, 23 Jul 2002 23:56:01 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAA1343E31 for ; Tue, 23 Jul 2002 23:56:00 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6O6txXZ088738; Wed, 24 Jul 2002 07:55:59 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6O6tsb5088737; Wed, 24 Jul 2002 07:55:54 +0100 (BST) Date: Wed, 24 Jul 2002 07:55:54 +0100 From: Matthew Seaman To: BSD Freak Cc: FreeBSD Questions Subject: Re: Making bind listen only to loopback interface Message-ID: <20020724065554.GB88546@happy-idiot-talk.infracaninophi> References: <5fff3c6016c0.6016c05fff3c@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5fff3c6016c0.6016c05fff3c@mbox.com.au> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jul 24, 2002 at 08:47:10AM +1000, BSD Freak wrote: > Is there any quick and easy way to make BIND (the version shipped > with 4.5-R and later) listen only the the loopback interface address > (ie 127.0.0.1) instead of all available addresses? Yes. You can add a `listen-on' statement to the options section of named.conf: options { [...] listen-on { 127.0.0.1; }; [...] }; The named.conf(5) man page has the full details. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message