X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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" To: References: <20160108111408 DOT GH20447 AT calimero DOT vinschen DOT de> <5690039E DOT 6000704 AT gmail DOT com> <20160108185205 DOT GL20447 AT calimero DOT vinschen DOT 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