From owner-freebsd-questions Mon Jan 6 14:29:59 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 421D737B401 for ; Mon, 6 Jan 2003 14:29:58 -0800 (PST) Received: from mcesr.etat.lu (dynamic4.etat.lu [194.154.200.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 238D643ED1 for ; Mon, 6 Jan 2003 14:29:57 -0800 (PST) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from [158.64.100.101] (account ) by mcesr.etat.lu (CommuniGate Pro WebUser 3.5.9) with HTTP id 701099 for ; Mon, 06 Jan 2003 23:20:53 +0100 From: "Wiroth Didier" Subject: how to make bind listen only to 127.0.0.1 To: freebsd-questions@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Mon, 06 Jan 2003 23:20:53 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit 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 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; It still listens on the real ip address? sockstat -4 shows: root named 296 20 udp4 192.168.0.2:53 root named 296 21 tcp4 192.168.0.2:53 root named 296 22 udp4 127.0.0.1:53 What do I have to change so it named only listens to 127.0.0.1? Thanks a lot Didier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message