mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-25 15:56:49 +09:00
state: send a node's DNS config with its own refresh
Drained at dispatch for nodeAttrs changes from any policy, user or node update, and for hostname/OS changes feeding NextDNS device metadata.
This commit is contained in:
1 parent
59030f380d
commit
357f34a778
6 files changed
+63
-17
No files matched your search
@@ -36,6 +36,10 @@ type mapRequestDelta struct {
|
||||
// changed (see [peerHostinfo]). Only that forces a whole-node resend.
|
||||
peerHostinfoChanged bool
|
||||
|
||||
// dnsMetadataChanged reports whether a Hostinfo field feeding the
|
||||
// node's NextDNS device metadata (Hostname, OS) changed.
|
||||
dnsMetadataChanged bool
|
||||
|
||||
// routesChanged reports whether announced routes (RoutableIPs)
|
||||
// changed. Routes are policy and election inputs, so they are tracked
|
||||
// on their own.
|
||||
|
||||
Reference in new issue
Block a user