dns_resolver::util::nameserver

Function query_nameserver_tcp

Source
async fn query_nameserver_tcp(
    address: SocketAddr,
    serialised_request: &mut [u8],
) -> Option<Message>
Expand description

Send a message to a remote nameserver over TCP, returning the response. This has the same return value caveats as query_nameserver_udp.

This has a 5s timeout.