Situation:
Your machine lives in a corporate environment and uses your corporates own DNS resolver who’s located in your own LAN/IPsubnet. You didn’t define a default gateway in your IPv4 settings for security reasons.
Resolving names via nslookup works fine, but windows himself (i.e ping) and third party software (like datev) run into resolve problems and cant get ips out from canonical names. Tuning the host file as a workaround doesn’t solve the problem.
Solution:
Set a default (not existing ghost) gateway.
It seems, that the windows DNS resolution stack can’t live without a defined (but not existing) gateway. What a crap.