From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130871 invoked by alias); 13 Jan 2016 17:03:32 -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 130855 invoked by uid 89); 13 Jan 2016 17:03:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.8 required=5.0 tests=BAYES_50,CYGWIN_OWNER_BODY,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=Assigned, 1112, Origin, Net X-HELO: resqmta-po-04v.sys.comcast.net Received: from resqmta-po-04v.sys.comcast.net (HELO resqmta-po-04v.sys.comcast.net) (96.114.154.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 13 Jan 2016 17:03:30 +0000 Received: from resomta-po-10v.sys.comcast.net ([96.114.154.234]) by resqmta-po-04v.sys.comcast.net with comcast id 5V371s00753iAfU01V3UEc; Wed, 13 Jan 2016 17:03:28 +0000 Received: from AndyWork ([73.223.74.29]) by resomta-po-10v.sys.comcast.net with comcast id 5V3S1s00G0dvCo901V3Tu7; Wed, 13 Jan 2016 17:03:27 +0000 From: "Andy Hall" To: "'Brian Inglis'" , References: <20160108111408.GH20447@calimero.vinschen.de> In-Reply-To: Subject: RE: getaddrinfo fails with EAI_NODATA for some valid hosts with A records Date: Wed, 13 Jan 2016 20:25:00 -0000 Message-ID: <002701d14e24$49a2cbd0$dce86370$@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00172.txt.bz2 > -----Original Message----- > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Brian Inglis > Sent: Wednesday, January 13, 2016 12:14 AM > To: cygwin@cygwin.com > Subject: Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records > > 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? > > DNS just translates URLs to IP addresses. It is no surprise that works. However, addresses in the range 240.0.0.0 - 255.255.255.255 are reserved. Windows is probably blocking that as a "favor". Net Range 240.0.0.0 - 255.255.255.255 CIDR 240.0.0.0/4 Name SPECIAL-IPV4-FUTURE-USE-IANA-RESERVED Handle NET-240-0-0-0-0 Parent Net Type IANA Special Use Origin AS Organization Internet Assigned Numbers Authority (IANA) Registration Date Last Updated 2013-08-30 Comments Addresses starting with 240 or a higher number have not been allocated and should not be used, apart from 255.255.255.255, which is used for "limited broadcast" on a local network. This block was reserved by the IETF, the organization that develops Internet protocols, in the Standard document and in RFC 1112. The documents can be found at: http://datatracker.ietf.org/doc/rfc1112 RESTful Link http://whois.arin.net/rest/net/NET-240-0-0-0-0 See Also Related organization's POC records. See Also Related delegations. -- 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