pub async fn lookup(
resolver: &str,
name: &str,
record_type: (u16, &str),
private: PrivateAddresses,
) -> Result<Vec<String>, String>Expand description
The records of record_type, by number and name, at name, as the
resolver at resolver answers: one GET through a client pinned to the
resolver’s own addresses, its answer read under MAX_ANSWER_BYTES and
by parse.
§Errors
The resolver could not be reached, answered with an HTTP error, or
answered with something parse refuses.