This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh after update not resolving hostname from DNS or /etc/hosts


After updating to the latest ssh from respiratory, ssh will not resolve names from /etc/hosts or a DNS host.  It worked find previously.  

It seems to be an issue with host resolution with cygwin itself.  I also installed lynx and it failed also.

Both ssh and lynx work if the ip address is used, but not using a hostname.

$ ssh -V
OpenSSH_6.6.1p1, OpenSSL 1.0.1g 7 Apr 2014

All updates where for the complete Cygwin packages installed using setup-x86_64.exe that was current at the time.

Installed        Version
20130822    openssh-6.2p2-1.tar.bz2     libopenssl100-1.0.1e-1.tar.bz2
20130923                                openssl-1.0.1e-1.tar.bz2
20140106    openssh-6.4p1-1.tar.xz
------------------- Stopped working ------------------------------------

20140513    openssh-6.6.1p1-1.tar.xz    libopenssl100-1.0.1g-1.tar.xz

$ ping rselap

Pinging rselap [192.168.10.254] with 32 bytes of data:
Reply from 192.168.10.254: bytes=32 time<1ms TTL=64
Reply from 192.168.10.254: bytes=32 time<1ms TTL=64
Reply from 192.168.10.254: bytes=32 time<1ms TTL=64
Reply from 192.168.10.254: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.10.254:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

$ ssh rselap
ssh: Could not resolve hostname rselap: Bad address

$ ssh www.yahoo.com
ssh: Could not resolve hostname www.yahoo.com: Bad address

$ nslookup rselap
*** UnKnown can't find rselap: Non-existent domain
Server:  UnKnown
Address:  x.x.x.x


$ grep rselap /etc/hosts
192.168.10.254  rselap

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]