Here's what I type:
C:\Users>nslookup
Default Server: UnKnown
Address: 172.16.128.2
> google.com
Server: UnKnown
Address: 172.16.128.2
Name: google.com.localdomain
Addresses: 74.125.226.14
74.125.226.14
> google.com.
Server: UnKnown
Address: 172.16.128.2
Non-authoritative answer:
Name: google.com
Addresses: 2607:f8b0:4006:806::1005
74.125.226.1
74.125.226.6
74.125.226.2
74.125.226.4
74.125.226.5
74.125.226.9
74.125.226.8
74.125.226.7
74.125.226.3
74.125.226.0
74.125.226.14
This used to not cause any problems and maybe it didn't used to append localdomain... but now it does cause problems for applications that don't append a '.' when doing domain name lookup.
I see the problem in command line ssh in cygwin.
And to be sure... on the host (Mac OS/X):
jzwolak@laptop:~$ nslookup
> google.com
Server: 192.168.2.1
Address: 192.168.2.1#53
Non-authoritative answer:
Name: google.com
Address: 74.125.226.14
Name: google.com
Address: 74.125.226.1
Name: google.com
Address: 74.125.226.6
Name: google.com
Address: 74.125.226.2
Name: google.com
Address: 74.125.226.4
Name: google.com
Address: 74.125.226.5
Name: google.com
Address: 74.125.226.9
Name: google.com
Address: 74.125.226.8
Name: google.com
Address: 74.125.226.7
Name: google.com
Address: 74.125.226.3
Name: google.com
Address: 74.125.226.0
>
I'm running VMWare Fusion 7.1.2, Mac OS/X 10.10.4, Windows 7 SP1 with all important updates, and the latest cygwin and ssh (from cygwin package with version: OpenSSH_6.9p1, OpenSSL 1.0.2d 9 July 2015).
ssh is not the only program that has problems, but it is the one I need to use.
Any ideas why this is happening?
Oh... and if I manually set the DNS server in Windows to the one used in Mac OS/X (192.168.2.1 in my example) then everything works fine.