pub unsafe extern "C" fn ares_query_dnsrec(
    channel: *mut ares_channel_t,
    name: *const c_char,
    dnsclass: ares_dns_class_t,
    type_: ares_dns_rec_type_t,
    callback: ares_callback_dnsrec,
    arg: *mut c_void,
    qid: *mut c_ushort
) -> ares_status_t
Expand description

Perform a DNS query with a callback containing the parsed DNS record.

\param[in] channel Pointer to channel on which queries will be sent. \param[in] name Query name \param[in] dnsclass DNS Class \param[in] type DNS Record Type \param[in] callback Callback function invoked on completion or failure of the query sequence. \param[in] arg Additional argument passed to the callback function. \param[out] qid Query ID \return One of the c-ares status codes.