feat(dns): add optimistic caching (#5237)

This commit is contained in:
Meow authored and GitHub committed 2025-11-21 05:38:06 +00:00
1 parent 4956e65824
commit cd51f57535
17 files changed
+338 -183

No files matched your search

+3 -2
View File
@@ -43,8 +43,9 @@ func (l *DNSLog) String() string {
type dnsStatus string
var (
DNSQueried = dnsStatus("got answer:")
DNSCacheHit = dnsStatus("cache HIT:")
DNSQueried = dnsStatus("got answer:")
DNSCacheHit = dnsStatus("cache HIT:")
DNSCacheOptimiste = dnsStatus("cache OPTIMISTE:")
)
func joinNetIP(ips []net.IP) string {