Keep static_host_map DNS results when a lookup fails

This commit is contained in:
Nate Brown committed 2026-10-21 09:28:03 -05:00
1 parent 9a5bdb508e
commit a274c7b9bd
5 files changed
+175 -20

No files matched your search

+2
View File
@@ -405,6 +405,8 @@ func (hm *HandshakeManager) StartHandshake(vpnAddr netip.Addr, cacheCb func(*Han
hm.Unlock()
hm.lightHouse.QueryServer(vpnAddr)
// If this host came from a static_map hostname its addresses may have moved, retries will pick up anything new
hostinfo.remotes.ResolveHostnames()
return hostinfo
}