If the DNS lookup fails, the destination string buffer is used as-is and thus it needs to be initialized to an empty string.