public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records
Date: Wed, 13 Jan 2016 10:16:00 -0000	[thread overview]
Message-ID: <loom.20160113T042110-649@post.gmane.org> (raw)
In-Reply-To: <20160108111408.GH20447@calimero.vinschen.de>

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

  parent reply	other threads:[~2016-01-13  8:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07 15:39 Brian Inglis
2016-01-08 15:19 ` Corinna Vinschen
2016-01-08 18:52   ` cyg Simple
2016-01-08 19:03     ` Corinna Vinschen
2016-01-08 20:50       ` Andy Hall
2016-01-10  9:15         ` Brian Inglis
2016-01-10 12:12           ` Brian Inglis
2016-01-08 19:48     ` Stephen John Smoogen
2016-01-13 10:16   ` Brian Inglis [this message]
2016-01-13 15:12     ` Corinna Vinschen
2016-01-13 20:25     ` Andy Hall
2016-01-14  9:17       ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20160113T042110-649@post.gmane.org \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).