From owner-freebsd-current@FreeBSD.ORG Sat May 22 08:25:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F00F916A4CE for ; Sat, 22 May 2004 08:25:39 -0700 (PDT) Received: from endif.cjb.net (65-101-229-205.dnvr.qwest.net [65.101.229.205]) by mx1.FreeBSD.org (Postfix) with SMTP id 59B7243D1F for ; Sat, 22 May 2004 08:25:39 -0700 (PDT) (envelope-from end@endif.cjb.net) Received: (qmail 20253 invoked from network); 22 May 2004 15:24:53 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 22 May 2004 15:24:53 -0000 Date: Sat, 22 May 2004 09:24:53 -0600 From: Robin Schoonover To: "Karel J. Bosschaart" Message-Id: <20040522092453.1d180c46@localhost> In-Reply-To: <20040522111520.GA63653@kayjay.xs4all.nl> References: <20040522111520.GA63653@kayjay.xs4all.nl> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: resolver problem with Opera X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 15:25:40 -0000 On Sat, 22 May 2004 13:15:20 +0200, Karel J. Bosschaart wrote: > > It seems that Opera on -current ignores /etc/hosts on my system: the > hostname I type in the address bar is resolved using the nameserver > while there is an entry for it in /etc/hosts. Using konqueror, name > resolution is as expected, it resolves to the local address specified > in /etc/hosts. > I'm not entirely sure, but I think opera loads /etc/hosts into memory at start, and never reads it again. Sometimes it seems to check the nameserver first, and -then- /etc/hosts, but usually it seems to check /etc/hosts first. I'm really unsure on what opera's logic concerning it is, and it seems like opera is doing all the dirty work on its own. -- Robin Schoonover (aka End) # double value; /* or your money back! */ # short changed; /* so triple your money back! */ # --Larry Wall in cons.c from the perl source code