Re: [PATCH v2] tools/hv: async name resolution in kvp_daemon

2021-03-19 Thread Olaf Hering
Am Fri, 19 Mar 2021 15:41:44 +0100 schrieb Olaf Hering : > FullyQualifiedDomainName I think in the past I did asked MSFT what the host side really expects. Maybe this time there will be an answer. Why would the host expect a FQDN from a VM? Why would it care about DNS layout of the network wit

[PATCH v2] tools/hv: async name resolution in kvp_daemon

2021-03-19 Thread Olaf Hering
The hostname is resolved just once since commit 58125210ab3b ("Tools: hv: cache FQDN in kvp_daemon to avoid timeouts") to make sure the VM responds within the timeout limits to requests from the host. If for some reason getaddrinfo fails, the string returned by the "FullyQualifiedDomainName" reque