From owner-freebsd-questions Sun Sep 17 18:49:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.hccnet.nl (pop.hccnet.nl [193.172.127.94]) by hub.freebsd.org (Postfix) with ESMTP id B4F5C37B424 for ; Sun, 17 Sep 2000 18:49:39 -0700 (PDT) Received: from parmenides.utp.net by pop.hccnet.nl via uds161-124.dial.hccnet.nl [193.173.124.161] with ESMTP id DAA24278 (8.8.5/1.13); Mon, 18 Sep 2000 03:49:27 +0200 (MET DST) Received: from localhost (janko@localhost) by parmenides.utp.net (8.9.3/8.9.3) with ESMTP id DAA00365; Mon, 18 Sep 2000 03:49:56 +0200 (CEST) (envelope-from janko@compuserve.com) X-Authentication-Warning: parmenides.utp.net: janko owned process doing -bs Date: Mon, 18 Sep 2000 03:49:56 +0200 (CEST) From: Janko van Roosmalen X-Sender: janko@parmenides.utp.net To: mgruver@reveregroup.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: I think I have a DNS caching problem... In-Reply-To: <8625695D.007FA1C7.00@main.reveregroup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You do not have to run a DNS. On the Windows boxes you can also use a "hosts" file. There should be sample hosts (hosts.sam) file in the Windows directory. Edit and rename it to "hosts" . The format is the same as the "/etc/hosts" file. Janko van Roosmalen On Sun, 17 Sep 2000 mgruver@reveregroup.com wrote: > I am a FreeBSD Newbie who recently installed Version 4.4 on a small server. I > am using it as a dual-homed host?, or gateway?, or NAT/Firewall for a LAN in my > home. I installed 4.4 pretty bare-bones on a Pentium 90 with two ethernet cards > in it. One was connected to my Road Runner Motorola cable modem and configured > for DHCP. The other was connected into the hub and given a 192.168.x.x > non-routable. > > I edited the /etc/rc.conf with vi to verify the gateway_enabled="YES" and > natd_enabled="YES" and natd_interface=dc0 (yes is is a cheat Netgear card but > the other one is a 3Com!). I specifically did not enable the firewall keywords > or recompile the Kernel with the IPFIREWALL IPDIVERT options. I had a bad > experience over the past few weeks with that (which I won't go into). > > I edited the /etc/hosts file (which after additional experimentation I don't > think I needed to do that) and went back to the /stand/sysinstall and loaded a > little goody I found in /usr/local/sbin/tinyproxy -a Host: -a Authorization: and > had a working http proxy server for my Windows 9X systems in the house (they all > work after setting the proxy setting in IE with the 192.168.x.x IP of the server > and the port to 8080). > > However, the problem is DNS name queries (I hope I am using the correct term > here) fail from inside the LAN. I can ping hosts by name (www.interland.com) > from the server, however I can't from the Windows boxes inside. > > I started the named daemon (with no options) but that hasn't helped. > > BTW, my paltry FreeBSD server/config has already resisted three (3) seperate > intrusion attempts in less than 24 hours! > > Any ideas?... > > Thanks, > > mgruver@reveregroup.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message