From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28246 invoked by alias); 22 Jul 2015 21:50:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28236 invoked by uid 89); 22 Jul 2015 21:50:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 22 Jul 2015 21:50:08 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZI1tr-0002nh-In for cygwin@cygwin.com; Wed, 22 Jul 2015 23:50:03 +0200 Received: from 189.208.17.107 ([189.208.17.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2015 23:50:03 +0200 Received: from rene.berber by 189.208.17.107 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jul 2015 23:50:03 +0200 To: cygwin@cygwin.com From: =?UTF-8?Q?Ren=c3=a9_Berber?= Subject: Re: Cygwin unable to resolve hostnames Date: Wed, 22 Jul 2015 21:50:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00351.txt.bz2 On 7/22/2015 3:53 PM, Matthew Fountain wrote: > I'm not sure when this started, but recently Cygwin has been unable to > resolve (certain) hostnames. > > Example: > wget github.com > --2015-07-22 15:17:04-- http://github.com/ > Resolving github.com (github.com)... failed: Non-recoverable failure > in name resolution. [snip] > Any ideas? Cygwin by default uses the same resolution as Windows, that means that you have something in Cygwin's configuration that affects resolution. First and most obvious is /etc/resolv.conf; by default I don't think there is one, but you can create it and Cygwin will use it. Next would be if you have more than one DNS resolver in your (Windows) network configuration, this means that any one of them can be used at any time (literally it should be random)... and by coincidence Cygwin is using one that doesn't work, the Web browser is using another, and things change with different tests. Run 'ipconfig -all' and see under the network adapter what's listed for "DNS Servers". Also if there is more than one network adapter something similar to the last paragraph will happen. I would think that Cygwin uses the DNS servers on the "default" adapter. Hope this helps. -- René Berber -- 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