delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/14/21:17:31

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:message-id:to:subject:from:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=fdljUcoEuoRS5lFdbdavRJD0M7VsTZcAfWwf+LxuAGg
2jNCMu9TszFaI4omNPE+QrOfwNJ03Be1X57XEHwfks9hD4D4V0RqGWRNcL4ISAny
Zez6qijk1FOlqL/sive7lO7ImuIA+lysppy7ud5GvTO9wYXLxGVtLlClIe5qsgJo
=
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:message-id:to:subject:from:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=cBMSIpYPW4CP4KNuoyPbLnPtiIs=; b=EFHQIzPdz00AToMNw
rRZbj2G7Xq0uXR7is5HyeTKrL8fqXh5CU4J19HYt/XUodjm1sCy1f2JDRfSyzDmE
x029EOxlDLgwZXSNWM1TmZfSYKuKMBQpmZpAlvLcIPw6ErjJ4xmVIzspcb6a0GWz
X1140Za12HffcIkom8LRTHQ/DQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=vista, Vista, Jun-ya, junya
X-HELO: mail-pf0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:message-id:to:subject:from:in-reply-to :references:mime-version:content-transfer-encoding; bh=ag/pFWS0BcD1LcyiV2dL2XLlvcONHmhBPHje4+2Yiy0=; b=Q4bWw2GqZ/gNLvzs5h0o/jFpIxMFbkrzZbHxk21YEbiKaLMT86WnfEcwaAj1Dhw9kc fsAhExct6Roqeibi+UclVFboJqfwCrd8WDahmtvsn6Luobyyw1ZbcNPRY5XzbZdCdsOw 7aCRboj52T1AJm4EowI3Kj9O9Dh1ir/AxjCMMZyZsefmledv1zhwZQ4qmAdRgfh2aANU 4Fh44UhHf+VbUEPiqSLEk3AXDRG2UvCTIi8KWQXYwQxc7XR1RdCMxPgQ+dEUsRWJo8Ic Nf+2e6IslF3EfMgUOQIcpBQwrE2RJkGPNTt9mIL1Vc5Ke1Vb3L4kR4FzWCTU03zY0pQI WEQQ==
X-Gm-Message-State: AD7BkJLmK0LpC6y1/Y23mLIF/hPGq47Ca/qrSCvtNLLGrmwnnnxrEzIwchbDz1XWBFdn2g==
X-Received: by 10.98.44.73 with SMTP id s70mr34573729pfs.2.1458004614292; Mon, 14 Mar 2016 18:16:54 -0700 (PDT)
Date: Tue, 15 Mar 2016 10:16:51 +0900 (JST)
Message-Id: <20160315.101651.626351874531260985.kato@vanilla.ocn.ne.jp>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin unable to resolve hostnames
From: Jun-ya Kato <kato AT win6 DOT jp>
In-Reply-To: <20160314095459.GA20256@calimero.vinschen.de>
References: <CAA05WiY_gwrX=aX2FqzLF0ZeJ4zf0ipNRshCXxOvp+h9MmbENQ AT mail DOT gmail DOT com> <20160314 DOT 093450 DOT 1409197428128437086 DOT kato AT vanilla DOT ocn DOT ne DOT jp> <20160314095459 DOT GA20256 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes

> Is anybody here affected by this problem willing to give this a test?
> I can create another Cygwin 2.5.0 test release pretty soon...

I think it's useful workaround for cygwin user under VMware NAT.
I'd like to test it.






From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Subject: Re: Cygwin unable to resolve hostnames
Date: Mon, 14 Mar 2016 10:54:59 +0100

> On Mar 14 09:34, Jun-ya Kato wrote:
>> It also depends on AAAA query againt VMware's DNS proxy server.
>> 
>> For more analysis, see vmware community site,
>> https://communities.vmware.com/thread/518949?start=15&tstart=0
>> 
>> 
>> I think it is not cygwin's bug at all. but any workaround may be
>> implemented againt weak behavior of GetAddrInfoW() API.
> 
> As mentioned in the above posting, Cygwin always sets AI_ALL if
> ai_family is PF_UNSPEC and the hints don't specify AI_ADDRCONFIG.
> 
> Apparently Winsock's GetAddrInfoW chokes on AI_ALL in certain
> circumstances.  On GLibc, AI_ALL is ignored if AI_V4MAPPED is not given,
> but that's not as I observed it on Windows when I added this code
> (back in Vista times, but hey).
> 
> There's an easy workaround possible:  If GetAddrInfoW returns the
> error code WSANO_RECOVERY (per the above posting), we can retry
> without the AI_ALL flag.
> 
> Is anybody here affected by this problem willing to give this a test?
> I can create another Cygwin 2.5.0 test release pretty soon...
> 
> 
> Thanks,
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019