From owner-freebsd-questions Sun Apr 7 15:11:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from samuelstn.dhs.org (h24-64-81-248.cg.shawcable.net [24.64.81.248]) by hub.freebsd.org (Postfix) with SMTP id 5146E37B421 for ; Sun, 7 Apr 2002 15:11:14 -0700 (PDT) Received: (qmail 90226 invoked from network); 7 Apr 2002 22:11:13 -0000 Received: from celeron (192.168.1.6) by homeserver with SMTP; 7 Apr 2002 22:11:13 -0000 Date: Sun, 7 Apr 2002 16:11:04 -0600 From: Samuel Chow To: Ronj_clark@yahoo.com Cc: freebsd-questions@freebsd.org Subject: Re: DNS & IPFW Message-Id: <20020407161104.2b8a3614.cyschow@shaw.ca> In-Reply-To: <20020407205626.94717.qmail@web10004.mail.yahoo.com> References: <20020407205626.94717.qmail@web10004.mail.yahoo.com> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Sun, 07 Apr 2002 13:56:26 -0700 (PDT) "Ronnie Clark" wrote: > My IPFW box is also a DNS forwarder. My problem is > that when I set my machine that are behind the IPFW > box to use it as the one DNS server, no lookups are > performed. If I set the machines behind the IPFW box > to use the ISP's dns servers, everything works fine. What are you using as the DNS forwarder? named? djbdns? If you are using djbdns, you probably didn't tell dnscache to accept queries from remote hosts. By default, dnscache does not accept queries from remote hosts. Use touch /etc/dnscachex/root/ip/1.2.3 to tell dnscache to accept queries from 1.2.3.*. You can add or remove networks on the fly. --- Samuel Chow cyschow@shaw.ca Segmentation Fault (core dumped) This message is displayed using recycled electrons. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message