From owner-freebsd-hackers Sun May 12 1:54:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 289E937B406 for ; Sun, 12 May 2002 01:54:11 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4C8s1PR039735 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 12 May 2002 10:54:03 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4C8s0T5037308 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 12 May 2002 10:54:00 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4C8rwuO037305; Sun, 12 May 2002 10:53:58 +0200 (CEST)?g (envelope-from ticso) Date: Sun, 12 May 2002 10:53:57 +0200 From: Bernd Walter To: Peter Haight Cc: hackers@FreeBSD.ORG Subject: Re: gethostbyname2 and AF_INET6 Message-ID: <20020512085356.GI30437@cicely5.cicely.de> References: <200205112253.g4BMrVUn041734@wartch.sapros.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205112253.g4BMrVUn041734@wartch.sapros.com> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, May 11, 2002 at 03:53:31PM -0700, Peter Haight wrote: > > Recently mozilla has been really slow resolving some DNS queries. I tracked > this down to a call to gethostbyname2. For some addresses (e.g. > 'www.vanguard.com'), gethostbyname2 with AF_INET6 will fail and takes more > than a minute. I verified this with my own short program that does nothing > but call gethostbyname2. > > I've attached a tcpdump of two DNS lookups. One is against > 'www.vanguard.com' which takes about a minute and thirty seconds to come > back with an 'Host name lookup failure'. > > The second log is against 'www.google.com' and it returns almost immediately > with 'No address associated with name'. > > Can someone explain to me what's going on? www.vanguard.com has a broken DNS implementation. Find out the zone administrator via SOA record or whois and complain. RFC requires the behavour you saw with google. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message