This error occurs when the agent can't resolve a DNS name into an IP address or if the reverse DNS entry for the agent is wrong.
Verify that, you can run :
nslookup <dns>.
If this fails, there is a problem with the DNS settings on the Windows agent, for example, the primary dns suffix is not set.