to_trust_resolver_config() -> to_hickory_resolver_config()

This commit is contained in:
Slatian
2024-02-11 11:52:33 +01:00
parent b5097b5a03
commit 1ce60d8291
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ async fn main() {
for (key, resolver_config) in &config.dns.resolver {
println!("Initalizing {} resolver ...", key);
let resolver = TokioAsyncResolver::tokio(
resolver_config.to_trust_resolver_config(),
resolver_config.to_hickory_resolver_config(),
Default::default()
);
dns_resolver_map.insert(key.clone(), resolver);