bin/156684: getaddrinfo returns improper error

Doug Barton dougb at
Thu Apr 28 21:10:12 UTC 2011

The following reply was made to PR bin/156684; it has been noted by GNATS.

From: Doug Barton <dougb at>
To: bug-followup at, jared at
Subject: Re: bin/156684: getaddrinfo returns improper error
Date: Thu, 28 Apr 2011 13:33:46 -0700

 I hate to disagree with my esteemed colleague, :) however I think in the 
 case where the name server does not return an error (such as servfail or 
 nxdomain) the proper response for getaddrinfo() is EAI_NONAME. The 
 thread at has a 
 good discussion about why.
 	Nothin' ever doesn't change, but nothin' changes much.
 			-- OK Go
 	Breadth of IT experience, and depth of knowledge in the DNS.
 	Yours for the right price.  :)

More information about the freebsd-bugs mailing list