From owner-freebsd-questions Mon Jan 27 14:15:40 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 2C12537B401 for ; Mon, 27 Jan 2003 14:15:38 -0800 (PST) Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C33243F65 for ; Mon, 27 Jan 2003 14:15:37 -0800 (PST) (envelope-from leblanc@mirrorimage.net) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id RAA27802 for ; Mon, 27 Jan 2003 17:15:31 -0500 Received: from leblanc.mirrorimage.net (localhost [127.0.0.1]) by leblanc.mirrorimage.net (8.12.3/8.11.4) with ESMTP id h0RMFUtk025200 for ; Mon, 27 Jan 2003 17:15:30 -0500 (EST) (envelope-from leblanc@leblanc.mirrorimage.net) Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.12.3/8.12.3/Submit) id h0RMFUa7025108 for freebsd-questions@FreeBSD.org; Mon, 27 Jan 2003 17:15:30 -0500 (EST) Date: Mon, 27 Jan 2003 17:15:29 -0500 From: Louis LeBlanc To: FreeBSD Questions Subject: Caching nameserver question - I need a spot here . . . Message-ID: <20030127221529.GB36301@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.3i 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 all. I'm finally getting around to setting up a caching dns server. Pretty confusing from my angle. Here's what I have so far: named enaabled in /etc/rc.conf cd to /etc/namedb and run sh make-localhost and the following in /etc/namedb/named.conf: options { directory "/etc/namedb"; forward first; forwarders { 151.203.0.84; 151.202.0.84; }; listen-on { 10.8.20.5; }; version "surely you must be joking" query-source address * port 53; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; 10.8.20.5 is the interface to the internal network, and I'm hoping the listen-on statement above will restrict requests to the internal network - And from the local machine if I simply add that IP to /etc/resolv.conf. The IPs in the forwarders block are my ISPs dns servers. Anyone care to point out my mistakes so I don't go making an ass of myself by turning on named with a broken config? Thanks in advance. Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ I never forget a face, but in your case I'll make an exception. -- Groucho Marx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message