From owner-freebsd-questions@FreeBSD.ORG Sat Nov 20 18:48:54 2004 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 B37F716A4CE for ; Sat, 20 Nov 2004 18:48:54 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A08E43D53 for ; Sat, 20 Nov 2004 18:48:54 +0000 (GMT) (envelope-from niyamas@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so117220rnf for ; Sat, 20 Nov 2004 10:48:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:return-path:message-id:date:user-agent:x-accept-language:mime-version:content-type:to:subject:references:in-reply-to:from; b=BmaAyLZ2I9PL5dZsXtqFwhVUcU4WBH1+W2P+AHzsSCgC9XOpAruTOOrqQjI97GRBs8Ey0qBGvwQVgeSe9U+VNmFBTQg6I3cuyS3nTh7sTHdhhcFcLwnYNWpz1N8+jNeqIQ0SQ1ApVkGURy6OrF/DCu56bO/bP6DdXzHoHHy/Lm8= Received: by 10.38.77.37 with SMTP id z37mr205980rna; Sat, 20 Nov 2004 10:48:53 -0800 (PST) Received: from ?192.168.0.10? ([67.62.48.56]) by smtp.gmail.com with ESMTP id 64sm999rna; Sat, 20 Nov 2004 10:48:53 -0800 (PST) Message-ID: <419F91B3.9060305@extacy.homeip.net> Date: Sat, 20 Nov 2004 13:49:23 -0500 User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041109 X-Accept-Language: en-us, en Mime-Version: 1.0 Content-Type: text/plain; To: questions@freebsd.org References: <20041120160043.2DA0443D2D@mx1.FreeBSD.org> <419F72C3.9070609@speakeasy.net> In-Reply-To: <419F72C3.9070609@speakeasy.net> From: Tim Subject: Re: what should i have in resolv.conf & hosts 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: Sat, 20 Nov 2004 18:48:54 -0000 Ash wrote: > Danny Browne wrote: > >> Browsers in fluxbox (and gnome when i treid that switching to that) >> take forever to fetch webpages (2 mins on a DSL line). but the speed >> is normal when using ping or ftp or whatever from terminal/console. >> are my reslov.conf and hosts file entrys correct? >> >> resolv.conf just has: >> >> nameserver 192.168.1.254 >> >> hosts has: >> >> ::1 localhost localhost.my.domain >> 127.0.0.1 localhost localhost.my.domain >> 192.168.1.3 VaioBSD VaioBSD.eircom.net >> > > [SNIP] > > Danny, > > I assume that by "browsers" you mean a Mozilla derived browser > compiled as a native FreeBSD binary (vs a Linux binary running under > emulation). There seems to be a known issue the way Mozilla resolves > under FreeBSD. There were some good threads in the news groups and > mailing lists on this; You should be able to find them via > groups.google.com by searching for something along the lines of > "mozilla DNS slow". > > There are few couple of reported ways to get around the resolvers > issue. I've read that disabling IPv6 in your kernel will help. > Installing the Linux native ports (e.g. www/linux-mozillafirebird or > www/linux-mozilla) is also reported to work. I haven't tried either of > the fore mentioned workarounds, so I don't know if they work or are > still applicable. > > I route my web traffic through the Squid proxy (available as a FreeBSD > port www/squid). As a result, I'm not affected by the resolvers issue > since Squid is handling DNS resolution for browsers on my network. > > I'm not saying my work around is the best fix; I just happened to need > a proxy on my network so it was a convenient fix way for me to deal > with this issue. > > -Ash > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > I'm running 5.3 and have IPv6 in my kernel, and I resolv just fine, as long as my DNS server isn't inside my local network. In resolv.conf should be: nameserver a.b.c.d where a.b.c.d is the ip address for the DNS server provided by your ISP. If the IP address being provided by is a 192 address, you're bound to have problems. In other words, if your ISP has given you DNS servers to use, use them. If not, find one.