Skip to content

Commit

Permalink
dnsforward: use caching resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Jan 10, 2024
1 parent 208fbaf commit ce90dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dnsforward/upstreams.go
Expand Up @@ -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 {
Expand Down

0 comments on commit ce90dbc

Please sign in to comment.