From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11355 invoked by alias); 13 Jan 2016 08:14:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11251 invoked by uid 89); 13 Jan 2016 08:14:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Live, Length, populated, H*Ad:D*ab.ca X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 13 Jan 2016 08:14:17 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aJGZJ-0003ht-0g for cygwin@cygwin.com; Wed, 13 Jan 2016 09:14:13 +0100 Received: from S010690fba62c4bda.cg.shawcable.net ([96.51.88.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2016 09:14:12 +0100 Received: from Brian.Inglis by S010690fba62c4bda.cg.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2016 09:14:12 +0100 To: cygwin@cygwin.com From: Brian Inglis Subject: Re: getaddrinfo fails with =?utf-8?b?RUFJX05PREFUQQ==?= for some valid hosts with A records Date: Wed, 13 Jan 2016 10:16:00 -0000 Message-ID: References: <20160108111408.GH20447@calimero.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00158.txt.bz2 Corinna Vinschen cygwin.com> writes: > On Jan 7 15:39, Brian Inglis wrote: >> getaddrinfo fails with err 7 EAI_NODATA for some valid hosts with A records. >> Err 7 EAI_NODATA is mapped from WSANO_DATA err 11004 in Windows. >> Can anyone reproduce failure with problem host name below? > > Yes, I can reproduce it, and it's a total surprise. > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > at all. Especially when after just one getaddrinfo call, the DNS cache is populated with: leapsecond.utcd.org ---------------------------------------- Record Name . . . . . : leapsecond.utcd.org Record Type . . . . . : 1 Time To Live . . . . : 600 Data Length . . . . . : 4 Section . . . . . . . : Answer A (Host) Record . . . : 244.34.36.97 so the DNS server is being contacted and responding normally, but it would appear Windows GAI is failing to use that info. Has this been reproduced on W10 so we can report this upstream? Is there any support without an account for upstream W7 reports? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple