Subject: lib/9621: getaddrinfo(3) fails badly with some nameservers
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@zembu.com>
List: netbsd-bugs
Date: 03/14/2000 22:51:35
>Number:         9621
>Category:       lib
>Synopsis:       getaddrinfo(3) fails badly with some nameservers
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 14 22:50:59 2000
>Last-Modified:
>Originator:     Jason R. Thorpe
>Organization:
Zembu Labs, Inc.
>Release:        March 12, 2000
>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.
>Audit-Trail:
>Unformatted: