fix well-known using the hooked resolver

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-04-03 02:52:42 +00:00
parent f14756fb76
commit 5d1404e9df

View file

@ -56,7 +56,7 @@ impl crate::Service for Service {
.build()?, .build()?,
well_known: base(config)? well_known: base(config)?
.dns_resolver(resolver.resolver.hooked.clone()) .dns_resolver(resolver.resolver.clone())
.connect_timeout(Duration::from_secs(config.well_known_conn_timeout)) .connect_timeout(Duration::from_secs(config.well_known_conn_timeout))
.read_timeout(Duration::from_secs(config.well_known_timeout)) .read_timeout(Duration::from_secs(config.well_known_timeout))
.timeout(Duration::from_secs(config.well_known_timeout)) .timeout(Duration::from_secs(config.well_known_timeout))