This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin unable to resolve hostnames
- From: Matthew Fountain <fountain dot matthew at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 22 Jul 2015 15:53:08 -0500
- Subject: Cygwin unable to resolve hostnames
- Authentication-results: sourceware.org; auth=none
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