Change getHostFQDNs() function to 1) not call getNameInfoErrors.push_back() with blanks, and 2) debug print the results vector so we can actually see what we are returning. This way we won't print error message when there was no error, ex.:
{"t":\{"$date":"2023-01-16T15:43:17.618+00:00"},"s":"D3", "c":"NETWORK", "id":23171, "ctx":"conn63","msg":"Failed to obtain name info","attr":{"errors":["","","","","",""]}}
This came from HELP-40780 where client is seeing the above error line even though there is are no actual errors.