From 8e4db44744693504236db3ca0e7ae94071dfa5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Sun, 9 Jun 2024 14:58:32 +0200 Subject: [PATCH] Bump version v9.6.3-rc1 --- src/dns.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dns.rs b/src/dns.rs index 3a6339d..a0e3d3c 100644 --- a/src/dns.rs +++ b/src/dns.rs @@ -42,7 +42,8 @@ impl DnsResolver { // https://github.com/hickory-dns/hickory-dns/issues/1968 #[cfg(target_os = "windows")] { - opts.num_concurrent_reqs = 20; + opts.cache_size = 1024; + opts.num_concurrent_reqs = cfg.name_servers().len(); } return Ok(Self::TrustDns(hickory_resolver::AsyncResolver::tokio(cfg, opts))); };