From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 21:10:12 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2222106566C for ; Thu, 28 Apr 2011 21:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B1FB78FC13 for ; Thu, 28 Apr 2011 21:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3SLACKQ037413 for ; Thu, 28 Apr 2011 21:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3SLACf2037412; Thu, 28 Apr 2011 21:10:12 GMT (envelope-from gnats) Date: Thu, 28 Apr 2011 21:10:12 GMT Message-Id: <201104282110.p3SLACf2037412@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Doug Barton Cc: Subject: Re: bin/156684: getaddrinfo returns improper error X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Doug Barton List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 21:10:12 -0000 The following reply was made to PR bin/156684; it has been noted by GNATS. From: Doug Barton To: bug-followup@FreeBSD.org, jared@puck.nether.net Cc: 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 https://lists.isc.org/pipermail/bind-users/2011-April/083542.html has a good discussion about why. Doug -- 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. :) http://SupersetSolutions.com/