X-Recipient: archive-cygwin@delorie.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@stevens.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@cygwin.com
Subject: Re: Failure of name resolution with ssh on windows 7 and VMware
References: <4E46E867.4080903@stevens.edu> <j27t0s$4la$2@dough.gmane.org>
In-Reply-To: <j27t0s$4la$2@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

