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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=n4qMSu9uMZty3cITjoOQEaO1VR1rSTSpUDb2TUkJGr9+ISejZJGp5 M34RRgQ02XJMIzYcZJfAPvJs8G3bNovArM6aQ7PKDeQKGMuDCAOjA/uyShFhHe+0 84lgOPVlVZ05VJw8KbM1haVYC0WcCbxAUCRZw53+LJ9QuInGZVko4s= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=pblZFgitAQE0MvuVtsGFQuESTkA=; b=NB7qzqn9vsmpNBYRI4jmhm1q34uo xSG00WfRYmEO04VG6dpl5+YiKCFeZPlV771gQc+ximmqdGnNzK1VTIUQEGfsB8Xy 2HeKWz0PqQJ6Ub8fKggyiZG/fkwWWY4jNOcHYrNZ397PCjH512gqBrhull+f+a6Q GP+/pXqzgh0W7ig= 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=-93.3 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=Hx-languages-length:1286, H*r:sk:calimer, Hx-spam-relays-external:sk:calimer, HX-HELO:sk:calimer X-HELO: calimero.vinschen.de Date: Wed, 13 Jan 2016 12:02:43 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: getaddrinfo fails with EAI_NODATA for some valid hosts with A records Message-ID: <20160113110243.GB16198@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20160108111408 DOT GH20447 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) --gatW/ieO32f1wygP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 13 08:14, Brian Inglis wrote: > 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 re= cords.=20 > >> Err 7 EAI_NODATA is mapped from WSANO_DATA err 11004 in Windows. > >> Can anyone reproduce failure with problem host name below?=20 > >=20 > > Yes, I can reproduce it, and it's a total surprise. >=20 > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > > at all. >=20 > Especially when after just one getaddrinfo call, the DNS cache is populat= ed > 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 >=20 > so the DNS server is being contacted and responding normally, but it would > appear Windows GAI is failing to use that info.=20 > Has this been reproduced on W10 so we can report this upstream?=20 I can reproduce this on W10 as well. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --gatW/ieO32f1wygP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWli7TAAoJEPU2Bp2uRE+gzzcP/0ZwPTFnhQDsX5BJpSIsT3rW 1z35kPZ8jgYAhxQEY54uXM3mc/80lwURlfzWgE1cb2BZdEY1nRrz5NyoLiJsXFCy hBN5B8SCbFmbAf0CEO6/kd9mfRn3Ip5ARbinfSDlvZOoxOfPug4wrSTCM+Ysvo+k bjEqTiG1dXxh/a2JCsOMDGPpqpGkWmkXcgnucJ2FJKW1dishYOn+1ixZgUHlnBRM l+tKu/QBwSQnCA5kT1rNi/37Mql1avF14KiA0DIp0NYpKCARra+I+ObEq5xM/Z/O L1KJ5dEMiCXzW+MwqsPmcbjm13tUxE+HzCmhXNT8MnvJ5EI9sfmaoCZo8fJO11SB fm0n9PA/EwihYnGJi1zQ+sgdbI9M+5UPe8moNcSzm4+xHJ4ptSsJQk9qqKWN91KX h4TUelIIdSizkkhf4MZKE71QS5v8bTol/4D4zAvbIipM614fcwhVU/1/EV2bViYW 2NUjgRdd9OikfimATfuZnV/FRCYh5ZG1jpqlrQwkwC3S1DG1vyfBMga2Vx+VfEvm VgEzplZlQiTsgpSzVT2eJSF+evx6Iz/P8KuRCMTDfnD/VIvwQ2MkyQ4R5zlwI7Ou ta0ldtFLJjLXwAiGQyoOaXYXCWix1HLo5zif72NeKpRkm+W7mpMBBOT+pc/crCaf aDe5FeGBT6RKRsS4q4bL =MQKY -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--