When working with Cygwin inside VMware, I had the weird problem of not being able to download stuff using wget or cloning repositories with git because I got the following or similar error messages:
Resolving google.de (google.de)... failed: Non-recoverable failure in name resolution.
wget: unable to resolve host address `google.de'
I really don’t know what causes this problem (and if anyone knows, please feel free to leave a comment), but it turns out that it does not occur when you switch your networking mode for NAT to Bridged. At least that worked from me :)