From owner-freebsd-questions Mon Sep 6 0:57:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 8B65F158E4 for ; Mon, 6 Sep 1999 00:57:22 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id KAA20697; Mon, 6 Sep 1999 10:15:23 +0300 (EEST) (envelope-from ru) Date: Mon, 6 Sep 1999 10:15:23 +0300 From: Ruslan Ermilov To: Incoming Mail List Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw/natd won't resolve hostnames Message-ID: <19990906101523.C11485@relay.ucb.crimea.ua> Mail-Followup-To: Incoming Mail List , freebsd-questions@FreeBSD.ORG References: <199909050304.XAA09170@whoweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199909050304.XAA09170@whoweb.com>; from Incoming Mail List on Sat, Sep 04, 1999 at 11:04:39PM -0400 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 04, 1999 at 11:04:39PM -0400, Incoming Mail List wrote: > > I have a typical public/private network configuration using > FreeBSD 3.0 and 2 NICS. One NIC connects to a cable modem > and the other to my private network. Ipfw and natd are being > used to provide the private network with access to the outside > world via the cable modem. For testing purposes my only two > ipfw rules are the natd divert and wide open accept from any > to any rules. Natd in verbose mode shows that translations > are occuring. > > My problem is that the private network can only reach the > outside world if I specify IP addresses. Name resolution > is not occuring when hostnames are specified. The > resolv.conf file seems to be set up properly with name > servers from the ISP. Name resolution occurs fine from the > FreeBSD box. > > I've read various mail and articles describing the use of > DNS for configurations such as this one, but I swear a few > months ago this exact same configuration was working fine > using only the ISP's nameservers as specified in the > resolv.conf file. I did put an outside IP/hostname in the > /etc/hosts file to see if that would help, but it didn't. > > What am I missing in my configuration that is preventing > name resolution? All machines on the private network are > WIN95 systems. The FreeBSD is acting as the gateway/firewall > to the outside world. > Describe exactly your configuration: public/private interfaces, ipfirewall rules, natd configuration, etc. -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message