From 2d3b9364bf0e6867c34d99d98b464cd9c733e340 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sat, 16 Sep 2023 12:29:49 +0800 Subject: [PATCH] fix: caceh dns result --- dns/resolver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dns/resolver.go b/dns/resolver.go index 8f41a44e..89e36214 100644 --- a/dns/resolver.go +++ b/dns/resolver.go @@ -200,6 +200,7 @@ func (r *Resolver) exchangeWithoutCache(ctx context.Context, m *D.Msg) (msg *D.M isIPReq := isIPRequest(q) if isIPReq { + cache=true return r.ipExchange(ctx, m) }