Pull request 2088: 6457 pass bootstrap

Updates #6457.

Squashed commit of the following:

commit c51cb5f26d0d35705fbe02400e106a894c01dbab
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Wed Nov 29 15:20:10 2023 +0300

    dnsforward: fix bootstrap usage
This commit is contained in:
Eugene Burkov 2023-11-29 15:37:39 +03:00
parent 849abaf25e
commit 0e4e243e8e

View file

@ -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