From owner-freebsd-questions Sat Sep 2 9:59:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id A584D37B422 for ; Sat, 2 Sep 2000 09:59:01 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13VFTO-000BiQ-00; Sat, 02 Sep 2000 16:44:50 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id QAA55611; Sat, 2 Sep 2000 16:44:49 +0100 (BST) (envelope-from ben) Date: Sat, 2 Sep 2000 16:44:49 +0100 From: Ben Smithurst To: John Murphy Cc: questions@freebsd.org Subject: Re: DNS resolving by internal network Message-ID: <20000902164449.I72445@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Murphy wrote: [caching DNS server] > I, for one, would like to do that. Is there a tutorial somewhere? Not that I know of. But the named.conf file you need should be fairly simple, the important bits you need to add are: forward first; forwarders { 1.2.3.4; 5.6.7.8; }; Where the two IP addresses are the IP addresses of your ISP's nameservers which would normally be in /etc/resolv.conf. This will make named forward requests to those nameservers, and cache the answers. If those nameservers don't respond your local named will contact the root name servers (see named.root) and find the answer from there, which will take longer. But most of the time your ISP's nameservers should respond, of course. The /etc/resolv.conf files (or Windows TCP/IP settings, or whatever) on your other computers should then list just the IP address of your local machine which is running named. -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message