From 059508ed7ad001c4612137d191a10742cf01b426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 7 Aug 2026 10:52:03 +0800 Subject: [PATCH] Avoid clearing DNS caches during network resets --- dns/router.go | 1 - 1 file changed, 1 deletion(-) diff --git a/dns/router.go b/dns/router.go index 5ed279d8..431212fd 100644 --- a/dns/router.go +++ b/dns/router.go @@ -1345,7 +1345,6 @@ func (r *Router) LookupReverseMapping(ip netip.Addr) (string, bool) { } func (r *Router) ResetNetwork() { - r.ClearCache() for _, transport := range r.transport.Transports() { transport.Reset() }