From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5485 invoked by alias); 31 Jul 2013 04:08:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 5295 invoked by uid 48); 31 Jul 2013 04:07:56 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/15726] getaddrinfo() returns incorrect status Date: Wed, 31 Jul 2013 04:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-07/txt/msg00186.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15726 --- Comment #19 from Carlos O'Donell --- (In reply to Rich Felker from comment #18) > > --- Comment #16 from Thomas Hood --- > > Ubuntu has just released a new libc6 package which returns -2 (EAI_NONAME) both > > when the nameserver can't be reached and when the name does not exist. Formerly > > This is wrong too. The nameserver being unreachable does not tell you > that the name does not exist. The right behavior is very simple; why > can nobody get it right? My plan is to write a technical memo on this as a glibc wiki page and use that to educate people about the correct behaviour. Additionally it will serve as rationale for RFC interpretations and to defined our choices (or adjust them later). If you want to start drafting something I'd be more than happy :-) -- You are receiving this mail because: You are on the CC list for the bug.