mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-17 11:26:52 +01:00
Keep static_host_map DNS results when a lookup fails
This commit is contained in:
5 files changed
+175
-20
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user