delorie.com/archives/browse.cgi | search |
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:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type; q=dns; s=default; b=RDOopw6 | |
KA9g5mjNBD6Kf5BjLBZ9sy8dW0Ie5COVi5GI6yMRJwuA5rqBnByjg/l0bt33rEhS | |
RKqer2R4sDTmFI5rhSe3rnqGe7WELynoez1/PAreT7jGt+5IEyA/dtN9U/T+nU5e | |
kHMJ7rUI0SzR2qL9/HUhyPgsm3JP4tVA+6Fk= | |
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:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type; s=default; bh=p/TQMk8zzwetv | |
wVl5pQEO6yVYlQ=; b=yUhEIEZrYmgJ2xhxA/jcrHkOWFs42OAE5vfNny0wZhH7g | |
DzBypqrw4SSKCea1qqwoVQogD8+i0GlGZbS86megx3wwzP25w2U6G5Yfm0VmGNuU | |
glIycN8liWPLNp/c3UmyZmbkmeN+ID3cktOgdUgJYCoIjx/n39toRQf/MWNUgg= | |
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=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=paragraph, Area, tunnel, routing |
X-HELO: | mail-ob0-f177.google.com |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=j20/mdxgogt1+M5HrSdbH1A1aj3k3mMf7rdyUn/IT3M=; b=eG97O4/ASDGp8E/LTxYqLWzFrpH12vmaU7Dly9PYJuK1SG8PdMGSpLXeaTCouVxuv8 Q66WrNWMxf9uELK31Fa2Ss++tG8cwDEydvKCv1qTyinqDA1NOIaPqXSP9MuEYTu/sU/o bj/IITebwehICdxsKzZzIkZccpVxc+4OkoczupqWHbq4F62lnFvYop/ijTcOrNBQ4w39 vDJZof9DCPDM36Nj0fic/gWr/40Vx90ivFr6ICg0bcGtlqE+XW57+IwnrM/wRbJWDK1L iSM18H+wOLSY6CWTOA3ZyvHbVHVCTkYkTIOCTTOLra9Sx71zAOT9bZWV0lk4jCVNjFF7 tu7A== |
X-Gm-Message-State: | AG10YOQ63MmxZt1GRPf1muRwded9JFSMHtndE1WP8L2suZFh8iNrXiN0Ag5wWFLB2i6VcSiXPwwd5KihLaai/A== |
X-Received: | by 10.182.20.238 with SMTP id q14mr43547059obe.33.1455188351167; Thu, 11 Feb 2016 02:59:11 -0800 (PST) |
MIME-Version: | 1.0 |
In-Reply-To: | <CAA3tTg8iqNTZjM3i0kwk4jAANoMvqb-+noEydOJ+ywH+0Ab0TQ@mail.gmail.com> |
References: | <CAPohr29Vzd0N8+WsJHpK1tPHjFf+3rtxWUQAyOFqnCdCLZcMcw AT mail DOT gmail DOT com> <mop2jp$kkn$5 AT ger DOT gmane DOT org> <CAA05WiYNHcfc2oSQiFZpYoGUojA__7hk+62trEo3LuhXK60hQw AT mail DOT gmail DOT com> <CAA3tTg8iqNTZjM3i0kwk4jAANoMvqb-+noEydOJ+ywH+0Ab0TQ AT mail DOT gmail DOT com> |
From: | Carl-Erik Kopseng <carlerik AT gmail DOT com> |
Date: | Thu, 11 Feb 2016 11:58:31 +0100 |
Message-ID: | <CAA05WibsEf3S+y=e1t-MoAJ=AxkvOWqrFLj5s2-f5Qghb7wFag@mail.gmail.com> |
Subject: | Re: Cygwin unable to resolve hostnames |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
I disabled IPv6. No change. I pinged my gateway. Went fine, but still ssh fails. I tried creating a /etc/resolv.conf with the same contents as the one on my mac. Same difference. And of course I have tried rebooting my VM. No change. I still get ssh: Could not resolve hostname timbuktu.kopseng.no: Non-recoverable failure in name resolution Just using the ip to connect using ssh works fine. But an interesting tidbit of information is that it depends on the domain name. While timbuktu.kopseng.no and most other domains fails, trying to ssh into login.uio.no works! So name resolution definitively seems related. Regards Carl-Erik Kopseng 2015-12-11 13:11 GMT+01:00 Jan Bruun Andersen <jan_bruun_andersen AT jabba DOT dk>: > > The only thing in that list of interfaces that have IP is the > "Ethernet adapter Ethernet0". Right of my head I don't see anything > obviously wrong. My first suggestion would be to disable IPv6 on the > adapter, just on the odd chance that it is the cause. > > After that I would start ping'ing the default gateway by IP-address > (192.168.244.2). This also happens to be where your DNS lives, so that > will test 2 issues in one go. > > Jan Bruun Andersen > > > On 11 December 2015 at 11:18, Carl-Erik Kopseng <carlerik AT gmail DOT com> 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] > > > > I have the same problem and I have just made a clean Cygwin64 install > > on a computer that has never had Cygwin installed before. I have not > > messed with any settings, yet I also cannot use curl or git to access > > almost any site. Only the built-in Windows CLI tools, such as `ping`, > > works. > > > >> > 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. > > > > Pointers on what to actually put in that file? > > > >> 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. > > > > I am guessing my problems have something to do with this part, as I am > > running Windows 8.1 in VMWare. VMWare adds lots of weird network stuff, > > all of which I am not too familiar with ... > > > > The below output is from `ipconfig /all`. Could any of the info be put > > in the aforementioned resolv.conf file? > > > > > > Windows IP Configuration > > > > Host Name . . . . . . . . . . . . : macbookpro > > Primary Dns Suffix . . . . . . . : > > Node Type . . . . . . . . . . . . : Hybrid > > IP Routing Enabled. . . . . . . . : No > > WINS Proxy Enabled. . . . . . . . : No > > DNS Suffix Search List. . . . . . : localdomain > > > > Ethernet adapter Bluetooth Network Connection 2: > > > > Media State . . . . . . . . . . . : Media disconnected > > Connection-specific DNS Suffix . : > > Description . . . . . . . . . . . : Bluetooth Device (Personal Area > > Network) #2 > > Physical Address. . . . . . . . . : 00-50-56-E2-FB-E9 > > DHCP Enabled. . . . . . . . . . . : Yes > > Autoconfiguration Enabled . . . . : Yes > > > > Ethernet adapter Ethernet0: > > > > Connection-specific DNS Suffix . : localdomain > > Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network > > Connection > > Physical Address. . . . . . . . . : 00-0C-29-6A-39-52 > > DHCP Enabled. . . . . . . . . . . : Yes > > Autoconfiguration Enabled . . . . : Yes > > Link-local IPv6 Address . . . . . : fe80::20b9:f45e:9310:3f4a%9(Preferred) > > IPv4 Address. . . . . . . . . . . : 192.168.244.145(Preferred) > > Subnet Mask . . . . . . . . . . . : 255.255.255.0 > > Lease Obtained. . . . . . . . . . : Friday, December 11, 2015 10:59:56 > > Lease Expires . . . . . . . . . . : Friday, December 11, 2015 11:29:56 > > Default Gateway . . . . . . . . . : 192.168.244.2 > > DHCP Server . . . . . . . . . . . : 192.168.244.254 > > DHCPv6 IAID . . . . . . . . . . . : 167775273 > > DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-89-39-FB-14-10-9F-E1-7B-95 > > DNS Servers . . . . . . . . . . . : 192.168.244.2 > > Primary WINS Server . . . . . . . : 192.168.244.2 > > NetBIOS over Tcpip. . . . . . . . : Enabled > > > > Tunnel adapter Teredo Tunneling Pseudo-Interface: > > > > Connection-specific DNS Suffix . : > > Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface > > Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 > > DHCP Enabled. . . . . . . . . . . : No > > Autoconfiguration Enabled . . . . : Yes > > IPv6 Address. . . . . . . . . . . : > > 2001:0:5ef5:79fb:867:2876:3f57:b6e(Preferred) > > Link-local IPv6 Address . . . . . : fe80::867:2876:3f57:b6e%7(Preferred) > > Default Gateway . . . . . . . . . : :: > > DHCPv6 IAID . . . . . . . . . . . : 218103808 > > DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-89-39-FB-14-10-9F-E1-7B-95 > > NetBIOS over Tcpip. . . . . . . . : Disabled > > > > Tunnel adapter isatap.localdomain: > > > > Media State . . . . . . . . . . . : Media disconnected > > Connection-specific DNS Suffix . : localdomain > > Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 > > Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 > > DHCP Enabled. . . . . . . . . . . : No > > Autoconfiguration Enabled . . . . : Yes > > > > > > Regards > > Carl-Erik Kopseng > > > > -- > > 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 > > > > -- > 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 > -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |