Skip to content

Commit

Permalink
dnsforward: fix bootstrap usage
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Nov 29, 2023
1 parent 849abaf commit c51cb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dnsforward/dnsforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ func (s *Server) prepareInternalDNS() (boot upstream.Resolver, err error) {
return nil, err
}

err = s.prepareUpstreamSettings(boot)
err = s.prepareUpstreamSettings(s.bootstrap)
if err != nil {
// Don't wrap the error, because it's informative enough as is.
return s.bootstrap, err
Expand Down

0 comments on commit c51cb5f

Please sign in to comment.