From owner-freebsd-questions Tue Jul 23 16:10:56 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 3CEA337B400 for ; Tue, 23 Jul 2002 16:10:54 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEF0043E31 for ; Tue, 23 Jul 2002 16:10:52 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a155.otenet.gr [212.205.215.155]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g6NNAlRc003234; Wed, 24 Jul 2002 02:10:50 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g6NNAiqx005549; Wed, 24 Jul 2002 02:10:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g6NNAfC3005548; Wed, 24 Jul 2002 02:10:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 24 Jul 2002 02:10:40 +0300 From: Giorgos Keramidas To: BSD Freak Cc: FreeBSD Questions Subject: Re: Making bind listen only to loopback interface Message-ID: <20020723231039.GA5517@hades.hell.gr> 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> X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 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 2002-07-24 08:47 +0000, 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. As a matter of fact this is how I run my caching BIND at home. You want to look up the description of the listen-on option. An example of using the option in named.conf could be: options { listen-on { 127.0.0.1/32; }; }; - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message