fix: Server name caching for SRV remotes

This commit is contained in:
Tulir Asokan
2026-04-06 14:18:50 +03:00
committed by Jacob Taylor
parent 1ce9ae2cbf
commit 8b762cf2e6
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
Fixed resolving IP of servers that only use SRV delegation. Contributed by @tulir.
-2
View File
@@ -72,8 +72,6 @@ pub async fn resolve_actual_dest(
if let Some(pos) = dest.as_str().find(':') {
self.actual_dest_2(dest, cache, pos).await?
} else {
self.conditional_query_and_cache(dest.as_str(), 8448, true)
.await?;
self.services.server.check_running()?;
match self.request_well_known(dest.as_str()).await? {
| Some(delegated) =>