delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/22/16:53:26

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:date:message-id:subject:from:to
:content-type:content-transfer-encoding; q=dns; s=default; b=XCB
I8gpOJQBaldNCOVMrP2J9SeOVdINv9/00NC7N8q8lrAhf/0ZYqFm3uYyeRuIjv6x
QqnctX0GvEUYCdc29RBkNholpqstep15K4JOoX4kwiu2axproBcEmILGKqmkfDEU
yQVjlwaf9XBA8p6KKQ+GpwHygEvUd7w52ksega0Y=
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:date:message-id:subject:from:to
:content-type:content-transfer-encoding; s=default; bh=ZVHniR99D
0fkQqrpLUN0u9IdWb8=; b=JHQs1QLJuhQpcNCv3ykarGWH5KBDo9vS4B1pF2sxg
Z7UDTYwuAZH3N7bpLHvipwt7NcNZ2+jUVe3FRVPOqNX88dWy6Lkgxd59eQKj5M5s
mMu5frGQRwhiyJZANPq0x+pDyugqK+7WQMHoHyYsM7Mr/hk2UATan/yYMHivqI4E
e0=
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.7 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qk0-f177.google.com
MIME-Version: 1.0
X-Received: by 10.55.31.65 with SMTP id f62mr6623264qkf.73.1437598388312; Wed, 22 Jul 2015 13:53:08 -0700 (PDT)
Date: Wed, 22 Jul 2015 15:53:08 -0500
Message-ID: <CAPohr29Vzd0N8+WsJHpK1tPHjFf+3rtxWUQAyOFqnCdCLZcMcw@mail.gmail.com>
Subject: Cygwin unable to resolve hostnames
From: Matthew Fountain <fountain DOT matthew AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t6MKrNqY024975

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.
wget: unable to resolve host address ‘github.com’

happens for SSH as well (I'm aware I probably can't ssh to github.com,
but it doesn't fail there, it fails during name resolution)
 ssh github.com
ssh: Could not resolve hostname github.com: Non-recoverable failure in
name resolution

however, I can get to github.com in the browser sitting next to the
cygwin window just fine.
ping (from windows, but inside cygwin) also works...
ping github.com

Pinging github.com [192.30.252.129] with 32 bytes of data:
Reply from 192.30.252.129: bytes=32 time=43ms TTL=128

Interestingly enough, google.com DOES resolve correctly.
wget google.com
--2015-07-22 15:23:27--  http://google.com/
Resolving google.com (google.com)... 74.125.224.110, 74.125.224.99,
74.125.224.103, ...
Connecting to google.com (google.com)|74.125.224.110|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.google.com/ [following]
...........

No hostname other than google.com that I've tried resolves at all
unless it is defined in my Windows hosts file.

I've searched google, the mailing lists, and the faq in vain.

Any ideas?

Thanks!

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