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:
Kristoffer Dalby authored and Kristoffer Dalby committed 2026-09-30 19:03:13 +02:00
1 parent 59030f380d
commit 357f34a778
6 files changed
+63 -17

No files matched your search

+4
View File
@@ -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.