async fn resolve(addr: &str) -> Result<(String, Vec<SocketAddr>), DialError>Expand description
Split host:port into the name to validate against and every address it
resolves to, v4 first.
v4 first is a preference and not a correctness claim: a v6 attempt on a
host without v6 connectivity burns the caller’s entire timeout before v4
is reached, and this path exists to return one working connection quickly.
It is the wrong default for measuring a relay, which is why a probe should
enumerate the list itself and dial each address through dial_quic_to
rather than inherit this ordering.