pub unsafe extern "C" fn ares_dns_record_query_set_name(
    dnsrec: *mut ares_dns_record_t,
    idx: usize,
    name: *const c_char
) -> ares_status_t
Expand description

Replace the question name with a new name. This may be used when performing a search with aliases.

Note that this will invalidate the name pointer returned from ares_dns_record_query_get().

\param[in] dnsrec Initialized record object \param[in] idx Index of question (typically 0) \param[in] name Name to use as replacement. \return ARES_SUCCESS on success