From owner-freebsd-current@FreeBSD.ORG Sat May 22 04:15:58 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 2479116A4CF for ; Sat, 22 May 2004 04:15:58 -0700 (PDT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85A6243D31 for ; Sat, 22 May 2004 04:15:57 -0700 (PDT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.kayjay.xs4all.nl [127.0.0.1]) by kayjay.xs4all.nl (8.12.11/8.12.11) with ESMTP id i4MBFK09063687 for ; Sat, 22 May 2004 13:15:20 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.12.11/8.12.11/Submit) id i4MBFKL3063686 for freebsd-current@freebsd.org; Sat, 22 May 2004 13:15:20 +0200 (CEST) (envelope-from karelj) Date: Sat, 22 May 2004 13:15:20 +0200 From: "Karel J. Bosschaart" To: freebsd-current@freebsd.org Message-ID: <20040522111520.GA63653@kayjay.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 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 11:15:58 -0000 Hi, 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. On -stable, Opera correctly resolves the hostname using /etc/hosts. Assuming it has something to do with the compat4x libs, I grabbed a tcsh binary from a -stable system and used that to ping the host on the local network (see below). Looks fine, it resolves to the local address. [karelj@athlon]~> uname -a FreeBSD athlon.kayjay.xs4all.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue May 18 08:05:18 CEST 2004 karelj@athlon.kayjay.xs4all.nl:/usr/obj/usr/src/sys/KAYJAY i386 [karelj@athlon]~> file tcsh tcsh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.9, statically linked, stripped [karelj@athlon]~> ./tcsh [karelj@athlon]~> ping kayjay.xs4all.nl PING kayjay.xs4all.nl (192.168.0.4): 56 data bytes 64 bytes from 192.168.0.4: icmp_seq=0 ttl=64 time=2.362 ms 64 bytes from 192.168.0.4: icmp_seq=1 ttl=64 time=0.280 ms 64 bytes from 192.168.0.4: icmp_seq=2 ttl=64 time=0.286 ms ^C --- kayjay.xs4all.nl ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.280/0.976/2.362/0.980 ms [karelj@athlon]~> Any idea where to look further? Karel.