delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/14/09:37:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4E47CF5B.9060806@stevens.edu>
Date: Sun, 14 Aug 2011 09:36:27 -0400
From: John Dzielski <jdzielsk AT stevens DOT edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Failure of name resolution with ssh on windows 7 and VMware
References: <4E46E867 DOT 4080903 AT stevens DOT edu> <j27t0s$4la$2 AT dough DOT gmane DOT org>
In-Reply-To: <j27t0s$4la$2@dough.gmane.org>
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

Partial resolution:

I've found that the problem does not occur when using NAT for 
networking.  Bridged mode is still a problem.  I've submitted a request 
to VMware.  Nothing in their database.


On 8/14/11 3:20 AM, Thorsten Kampe wrote:
> * John Dzielski (Sat, 13 Aug 2011 17:11:03 -0400)
>> I am unable to get name resolution to work with ssh. The command ssh X
>> returns the error "ssh: could not resolve hostname X: Non-recoverable
>> failure in name resolution." The command nslookup X returns a valid IP
>> address.
> Run a Wireshark trace when ssh fails and see if you actually have an
> attempt for name resolution. I'd rather suspect UAC or the firewall.
>
>> I've created a partial workaround in my .bashrc file that creates
>> variables containing the IP addresses of the names I need to resolve.
> This is a weird idea. Use /etc/hosts for that.
>
> Thorsten
>
>
> --
> 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

- Raw text -


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