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:from:to:references:in-reply-to:subject:date
	:message-id:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=cofPv6TSS6RtYQbxmsSZMZcUJyXrnoYdQjJ/foIrB86
	dwEslrei1gaMloWU7wf1Idr85ZQrcPfW0Mf6HUH1up0C2uGeGzEiMNegP7Ep/gGR
	Pe3VgfGQQpOa5BL5M2eLObNLMAKcCeL5PIfuHAkerkAnANEqvpdsgMsjQOdigCKA
	=
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:from:to:references:in-reply-to:subject:date
	:message-id:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=e5YW0r6M04NapTu7NqRy8Z4HJqg=; b=xGDJsvXKBKzc3DZaK
	zn8XbQrWvDwY5LZ9qDms8QfC474OcAM6Pxg0pDLncgbIcaGVWtGDaRqX7cQ/78MG
	Ojvhpx5ZJhAMZuHdySI8jBDXVOuSCd5ryybfLTqfjmYfKgYoVl/UasxoVHDjDc36
	Ea62rChAB8IQaQDb03+E08aVPs=
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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=yield, 1231, W10, w10
X-HELO: resqmta-po-07v.sys.comcast.net
From: "Andy Hall" <fixpertise-consulting@comcast.net>
To: <cygwin@cygwin.com>
References: <loom.20160107T163448-78@post.gmane.org> <20160108111408.GH20447@calimero.vinschen.de> <5690039E.6000704@gmail.com> <20160108185205.GL20447@calimero.vinschen.de>
In-Reply-To: <20160108185205.GL20447@calimero.vinschen.de>
Subject: RE: getaddrinfo fails with EAI_NODATA for some valid hosts with A records
Date: Fri, 8 Jan 2016 12:03:48 -0800
Message-ID: <004701d14a4f$b0182820$10487860$@comcast.net>
MIME-Version: 1.0
Content-Type: text/plain;	charset="utf-8"
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

> 
> On Jan  8 13:44, cyg Simple wrote:
> > On 1/8/2016 6:14 AM, Corinna Vinschen wrote:
> > > $ ./gai leapsecond.utcd.org
> > > ret = 11004
> > >
> > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org
> > > at all.
> >
> > utcd.org doesn't resolve for me.  So getaddrinfo has no info to get.
> 
> Why then does it work on Linux?
> 

nslookup works for me:

Win7 64-bit

$ nslookup leapsecond.utcd.org
Non-authoritative answer:
Server:  UnKnown
Address:  192.168.1.1

Name:    leapsecond.utcd.org
Address:  244.34.36.97

Win10 64-bit

C:\Users\Andy>nslookup leapsecond.utcd.org
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    leapsecond.utcd.org
Address:  244.34.36.97

However,  tracert and ping  yield this on both W7 & W10:

$ tracert leapsecond.utcd.org
Unable to resolve target system name leapsecond.utcd.org.

$ tracert 244.34.36.97

Tracing route to 244.34.36.97 over a maximum of 30 hops

  1  Transmit error: code 1231.

Trace complete.

$ ping 244.34.36.97

Pinging 244.34.36.97 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.

Ping statistics for 244.34.36.97:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Weird!





--
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

