From owner-freebsd-questions Thu Aug 31 19:23:57 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 DEBB237B42C for ; Thu, 31 Aug 2000 19:23:52 -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 13Uele-0008Mg-00; Fri, 01 Sep 2000 01:33:14 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id BAA36413; Fri, 1 Sep 2000 01:33:14 +0100 (BST) (envelope-from ben) Date: Fri, 1 Sep 2000 01:33:14 +0100 From: Ben Smithurst To: Hector Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DNS resolving by internal network Message-ID: <20000901013314.B72445@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 Hector wrote: > I have a FreeBSD 4.0-RELEASE box w/2 NICs setup as a gateway and an > internal LAN. I have IPFilter setup already. > All my internal machines have static IPs and the default gateway as the > 2nd NIC of my FreeBSD box. > > How do I get them to use the DNS servers given by my ISP? Why not run a local DNS cache on the gateway instead? That will shorten the time taken for DNS lookups. I don't know how much it helps, but I get a lot of mail from freebsd.org, and for each mail a DNS lookup on freebsd.org is done, so the local cache probably helps a bit there at least. Like the other person who responded, I use DHCP to give my machines static IPs, so the config there is probably much the same. If you want help with the named config, let me know and I'll send you my config files for that if you think they'd help. -- 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