From ce90dbcda8586fda0d12d86ef609de505ae87164 Mon Sep 17 00:00:00 2001 From: Eugene Burkov Date: Wed, 10 Jan 2024 13:01:25 +0300 Subject: [PATCH] dnsforward: use caching resolvers --- internal/dnsforward/upstreams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dnsforward/upstreams.go b/internal/dnsforward/upstreams.go index c9fc6834225..d9644dec6cb 100644 --- a/internal/dnsforward/upstreams.go +++ b/internal/dnsforward/upstreams.go @@ -180,7 +180,7 @@ func (s *Server) createBootstrap( var parallel upstream.ParallelResolver for _, b := range boots { - parallel = append(parallel, b) + parallel = append(parallel, upstream.NewCachingResolver(b)) } if s.etcHosts != nil {