From owner-freebsd-questions Mon Jan 6 15:57:55 2003 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 7DCF537B401 for ; Mon, 6 Jan 2003 15:57:54 -0800 (PST) Received: from portal.aphroland.org (portal.aphroland.org [216.39.174.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1C7F43EC5 for ; Mon, 6 Jan 2003 15:57:53 -0800 (PST) (envelope-from freebsd@aphroland.org) Received: by portal.aphroland.org (Postfix, from userid 1010) id 30D6927801C; Mon, 6 Jan 2003 15:57:43 -0800 (PST) Received: from portal.aphroland.org (debian [127.0.0.1]) by portal.aphroland.org (Postfix) with SMTP id 902A627801B for ; Mon, 6 Jan 2003 15:57:40 -0800 (PST) Received: from redhat.aphroland.org ([10.10.10.7]) (SquirrelMail authenticated user aphro) by webmail.linuxpowered.net with HTTP; Mon, 6 Jan 2003 15:57:40 -0800 (PST) Message-ID: <36803.10.10.10.7.1041897460.squirrel@webmail.linuxpowered.net> Date: Mon, 6 Jan 2003 15:57:40 -0800 (PST) Subject: Re: how to make bind listen only to 127.0.0.1 From: "nate" To: X-XheaderVersion: 1.1 X-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 In-Reply-To: References: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=0.4 required=5.0 tests=IN_REP_TO,MSG_ID_ADDED_BY_MTA_3,REFERENCES, SPAM_PHRASE_00_01 version=2.42 X-Spam-Level: X-Sanitizer: This message has been sanitized! X-Sanitizer-URL: http://mailtools.anomy.net/ X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.54 2002/02/15 16:59:07 bre Exp $ 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 Wiroth Didier said: > Hey, > I would like to run bind as a caching only server (v 8.3.3 > from 4.7-release). I would also like that it only listens > on port 127.0.0.1, but how? I tried this entry in > named.conf, but it didn't work: > query-source address 127.0.0.1 port 53; in named.conf: listen-on { 127.0.0.1; }; I've been using this configuration(I also have it bind to another IP) for a couple years with success. I have another copy of BIND listening on yet another IP as well.. nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message