From owner-freebsd-questions@FreeBSD.ORG Sat Nov 20 16:36:44 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 CD9C216A4CE for ; Sat, 20 Nov 2004 16:36:44 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A59C43D1F for ; Sat, 20 Nov 2004 16:36:44 +0000 (GMT) (envelope-from omniBSD@speakeasy.net) Received: (qmail 19520 invoked from network); 20 Nov 2004 16:36:44 -0000 Received: from acute.anhedonia.com (HELO [10.20.30.10]) (omni@[66.93.24.213]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Nov 2004 16:36:44 -0000 Message-ID: <419F72C3.9070609@speakeasy.net> Date: Sat, 20 Nov 2004 10:37:23 -0600 From: Ash User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041104 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: danny_browne@eircom.net References: <20041120160043.2DA0443D2D@mx1.FreeBSD.org> In-Reply-To: <20041120160043.2DA0443D2D@mx1.FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Mailing List cc: BSD User Group Ireland 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 16:36:44 -0000 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