Function query

Source
fn query(
    agent: &Agent,
    host: &str,
    record_type: u8,
) -> Result<Vec<IpAddr>, Error>