| 14 | ) |
| 15 | |
| 16 | type 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 | |
| 26 | type cacheEntry struct { |
| 27 | Values []string |
nothing calls this directly
no outgoing calls
no test coverage detected