NetBSD Problem Report #9621

Received: (qmail 3963 invoked from network); 15 Mar 2000 06:50:09 -0000
Message-Id: <20000315064615.BCE144610@dr-evil.shagadelic.org>
Date: Tue, 14 Mar 2000 22:46:15 -0800 (PST)
From: thorpej@zembu.com
Reply-To: thorpej@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: getaddrinfo(3) fails badly with some nameservers
X-Send-Pr-Version: 3.95

>Number:         9621
>Category:       lib
>Synopsis:       getaddrinfo(3) fails badly with some nameservers
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 14 22:50:59 +0000 2000
>Closed-Date:    Sun Jan 06 22:58:09 +0000 2002
>Last-Modified:  Sun Jan 06 22:58:09 +0000 2002
>Originator:     Jason R. Thorpe
>Release:        March 12, 2000
>Organization:
Zembu Labs, Inc.
>Environment:

System: NetBSD dhcp0.wlan.shagadelic.org 1.4U NetBSD 1.4U (DR-EVIL) #349: Tue Mar 14 19:04:53 PST 2000 thorpej@dr-evil:/u1/netbsd/src/sys/arch/i386/compile/DR-EVIL i386


>Description:
	getaddrinfo(3) fails badly when it encounters a server which
	doesn't understand AAAA addresses (i.e. you get "Server Failed").

	Instead of moving on to try the A record, it returns total failure
	to the caller.

>How-To-Repeat:
	Use getaddrinfo(3) against a server which will return "Server Failed"
	in response to a AAAA query.

>Fix:
	Not supplied.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: itojun 
State-Changed-When: Thu Mar 16 05:57:42 PST 2000 
State-Changed-Why:  
committed a workaround.  not sure if it is right... 

From: "Erik E. Fair" <fair@clock.org>
To: NetBSD GNATS Bug Tracking System <gnats-bugs@netbsd.org>
Cc:  
Subject: Re: lib/9621
Date: Wed, 28 Jun 2000 19:26:19 -0700

 So, is the work-around right, Jason?

 	Erik
State-Changed-From-To: feedback->closed 
State-Changed-By: fair 
State-Changed-When: Sun Jan 6 14:57:42 PST 2002 
State-Changed-Why:  
No feedback in nine months, it must work now. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.