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: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 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.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 AT cygwin DOT com From: Brian Inglis 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: References: <20160108111408 DOT GH20447 AT calimero DOT vinschen DOT 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 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