From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 15:13:45 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58A6916A41F for ; Sun, 30 Oct 2005 15:13:45 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF41043D46 for ; Sun, 30 Oct 2005 15:13:44 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.13.5/8.13.1) with ESMTP id j9UFDgEp079184; Sun, 30 Oct 2005 10:13:42 -0500 (EST) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.13.5/8.13.1/Submit) id j9UFDgbX079183; Sun, 30 Oct 2005 10:13:42 -0500 (EST) (envelope-from bv) Date: Sun, 30 Oct 2005 10:13:42 -0500 From: Bill Vermillion To: Nandagopal Message-ID: <20051030151342.GD78577@wjv.com> References: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d678ce60510300649w9df9f2ey7f38f4f595041f8c@mail.gmail.com> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on bilver.wjv.com Cc: freebsd-net@freebsd.org Subject: Re: domain name not resolution too slow or timeouts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 15:13:45 -0000 Shakespeare wrote plays and sonnets which will last an eternity, but on Sun, Oct 30, 2005 at 20:19 , Nandagopal wrote these truly forgetable lines: > I'm running freeBSD 6.0 Beta 4. It has been almost 1 month > since I installed it. Everything was working fine until today. > The problem, the browser (or any other app) takes too long to > resolve a domain name; sometimes it just times out. That means the nameserver you are pointing to is not resolving the names. > However, I can access websites(services) using their ip address. > The data transfer rates are also normal. I use a cable modem and > get my IP using DHCP. As this machine is also a gateway, I run a > named. That is typical of a nameserver not responding. A nameserver just looks up the IPs, so going to an address by IP bypasses the names server. > Also, I had a system crash today due to a power failure. > Another thing I noticed since the Beta 4 install is that I > have to invoke 'dhclient' comand on my public interface very > frequently. > I tested the connection using Windows XP; everything works fine. > So I guess there should be no hardware or modem troubles. > Any help is appreciated. Find the correct name servers. I don't use DHCP but I've noticed that many say that DHCP tend to rewrite the /etc/resolv.conf to add it's own nameserver. I forget what the process was in DHCP to keep this from happening, but you can put known working nameservers in your /etc/resolv.conf and then perform a 'chflags' to make that file read only, and then nothing will change it until you reset the flags. You problem Is not a BSD problem. Bill -- Bill Vermillion - bv @ wjv . com