X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=oaDE/cADUBLWa8G5+bbz1UuWGvc4bCN6iNz0YAdX3eas4FqnL34WB
	i/IqCQ2WgtNILvS8KLWn9Sz/c7Mdqq7OcYx+7jq5M7XuimD4Btx/+bYb6s36dcol
	/L2VQQlhJ8ZksXrmyByiGgl8xibM1tkfb4b/q9bOl8rXWC77VQDhR0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=gqhfFVDggHW2v1txK4u35ta7KfE=; b=cT9A+L1MK5q3CFp28Vf85NvZzDYQ
	9uh2Ic/OTN2ekE1C0539DBDAvftaRv6uU4iQbf0Wsz6BWFGNr9wW4ixO/getHCDu
	MWe7NgwKsMnmoNBcDAIytQotofwDxTwRdSuxgJddwJkJvRGXJf6jv7rXrCvRL4ZE
	zzHGU8/mmrM3D9g=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
To: cygwin@cygwin.com
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Re: getaddrinfo fails with =?utf-8?b?RUFJX05PREFUQQ==?= for some valid hosts with A records
Date: Wed, 13 Jan 2016 08:14:02 +0000 (UTC)
Lines: 26
Message-ID: <loom.20160113T042110-649@post.gmane.org>
References: <loom.20160107T163448-78@post.gmane.org> <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

Corinna Vinschen <corinna-cygwin <at> 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

