dns: switch to active upstream pool and wave fallback behavior

This commit is contained in:
beckline
2026-02-22 19:15:37 +03:00
parent a7ec4fe801
commit 0f88cfeeaa
9 changed files with 382 additions and 130 deletions

View File

@@ -46,6 +46,15 @@ type DNSUpstreams struct {
Meta2 string `json:"meta2"`
}
type DNSUpstreamPoolItem struct {
Addr string `json:"addr"`
Enabled bool `json:"enabled"`
}
type DNSUpstreamPoolState struct {
Items []DNSUpstreamPoolItem `json:"items"`
}
type DNSResolverMode string
const (