Function arti::dns::run_dns_resolver
source · [−]pub async fn run_dns_resolver<R: Runtime>(
runtime: R,
tor_client: TorClient<R>,
dns_port: u16
) -> Result<()>
Available on crate features
experimental-api
and dns-proxy
only.Expand description
Launch a DNS resolver to listen on a given local port, and run indefinitely.