trust_dns_resolver is now hickory_resolver (#116)

This commit is contained in:
Ferdinand Schober
2024-04-26 22:52:00 +02:00
committed by GitHub
parent 3e96b42067
commit 636c5924bf
3 changed files with 48 additions and 49 deletions

View File

@@ -1,7 +1,7 @@
use anyhow::Result;
use std::{error::Error, net::IpAddr};
use trust_dns_resolver::TokioAsyncResolver;
use hickory_resolver::TokioAsyncResolver;
pub struct DnsResolver {
resolver: TokioAsyncResolver,