ssh after update not resolving hostname from DNS or /etc/hosts
Alex Lindberg
alindber@yahoo.com
Fri May 16 17:29:00 GMT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 53516 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140516/375ae8ca/attachment.obj>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list