MCPcopy
hub / github.com/nextdns/nextdns / DNS

Struct DNS

discovery/dns.go:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type DNS struct {
17 Upstream string
18
19 cache *lru.Cache[string, cacheEntry]
20 once sync.Once
21
22 antiLoop semaphoreMap
23 rd bool
24}
25
26type cacheEntry struct {
27 Values []string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected