From 8a3231205ad0932cb1ff44780a2618b5b25999a4 Mon Sep 17 00:00:00 2001 From: gVisor bot 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) }