From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 23:52:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C192416A4B3 for ; Wed, 24 Sep 2003 23:52:30 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02CEE43FF9 for ; Wed, 24 Sep 2003 23:52:30 -0700 (PDT) (envelope-from sandshrimp@comcast.net) Received: from comcast.net (unknown[12.242.162.139]) by comcast.net (sccrmhc13) with SMTP id <2003092506522901600qlk9se> (Authid: sandshrimp); Thu, 25 Sep 2003 06:52:29 +0000 Message-ID: <3F7290A9.4090203@comcast.net> Date: Wed, 24 Sep 2003 23:52:25 -0700 From: Ryan Merrick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chris References: <019601c3831f$fa743350$0100000a@red> In-Reply-To: <019601c3831f$fa743350$0100000a@red> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: Question on FreeBSD name resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2003 06:52:30 -0000 chris wrote: > I just installed 5.1 and have been playing around with it, but I am > troubled by an issue with my network configuration. I apologize if this > is the wrong list, it seemed to be the most appropriate. I want to at > least get the machine working so then I can start working through > learning the ins and outs. > > My FreeBSD box is running on a Dell laptop on my home network where I > have three other Windows based machines. All of my machines are > configured to use another NT-Based firewall as both the default gateway > and DNS server, which is connected out to the Internet via cable. > > I’m using the default network settings that were configured when I > installed the system. The network card is configured to use DHCP and > when I do an ifconfig I see the Ethernet card has an appropriately > assigned IP address & netmask. If I ping a website by it’s DNS name, > the name resolves quickly and I get ping responses back pretty quickly > (as I would expect). When I use FTP, Telnet, or WWW to try to connect > to an address by FQDN, it takes a few minutes to establish the > connection. However when I use the associated IP address instead of the > FQDN it connects instantly. > > It seems like the TCP (or at least FTP, WWW & Telnet) programs are > having an issue with resolving the name. My guess is that they are > timing out through trying to resolve via one means, and therefore then > try a DNS resolve. Is there a way to determine the order in which the > system currently does name resolution? I looked for the host.conf file > in my /etc folder and there was one, but even when I added one in it > didn’t help. > > Hello, You should be looking in your #/etc/resolv.conf . If you don't have one make it. Ryan Merrick