Releases: AdguardTeam/dnsproxy
Releases · AdguardTeam/dnsproxy
Release v0.72.2
Fixed
- General memory performance improvements.
Release v0.72.1
Fixed
- Race conditions on message ID in DNS-over-HTTPS and DNS-over-QUIC upstream implementations (#402).
Release v0.72.0
Added
proxy.Configstruct now contains the newslog.Loggerfield which is used as the base logger for proxy service. If nil,slog.Defaultis used.upstream.Optionswith those you can configure the upstream properties now contain a newslog.Loggerfield which is used as the base logger during configuration and parsing processes. If nil,slog.Defaultis used.
Changed
proxy.Config.UpstreamModewhich determines the logic for upstreams has been changed, it is now of typeproxy.UpstreamMode. If not specified theproxy.UpstreamModeLoadBalanceis used.proxy.CheckDisabledAAAARequesthas been deprecated, useproxy.RequestHandlerinstead.fastip.NewFastestAddrwhich initializes a new instance offastip.FastestAddris deprecated, usefastip.Newinstead.upstream.NewDefaultHostsResolverhas been changed. Now it requires a non-nilslog.Loggeras an additional argument.
Removed
proxy.UModeLoadBalance,proxy.UModeParallelandproxy.UModeFastestAddrhave been removed. Use the new corresponding typeproxy.UpstreamMode.- Deprecated
proxy.Inithas been removed. - Deprecated
upstream.LookupParallelhas been removed.
Release v0.71.2
Changed
- The
quic-godependency has been updated tov0.44.0.
Release v0.71.1
Fixed
- Ignored wildcard specifications for top-level domains.
Release v0.71.0
Fixed
- The
quic-godependency has been updated due to issues with QUIC and HTTP/3 upstreams on older Linux kernel versions. - Domain specifications for top-level domains now considered when routing the requests for unqualified names.
Release v0.70.0
Changed
SOAandNSrequests containing ARPA domains implying private IP addresses are now treated as private requests, as was previously the case only forPTRrequests.proxy.DNSContext.RequestedPrivateRDNSis now set forSOAandNSrequests, as was previously the case only forPTRrequests.
Release v0.69.2
Fixed
- Error-prone
proxy.BeforeRequestErrorAPI. See documentation.
Tip
Consider wrapping each returned error with proxy.BeforeRequestError with a SERVFAIL response.
Release v0.69.1
Fixed
- Validations in
proxy.Newperformed with the default values, not the ones from configuration.
Release v0.69.0
Added
- New
proxy.BeforeRequestErrortype for the errors containing a custom DNS response. Seeproxy.BeforeRequestHandlerfor usage.
Changed
- The
quic-godependency has been updated tov0.42.0. proxy.BeforeRequestHandleris now an interface instead of a callback, and its the only method also differs in signature.
Fixed
- Unspecified IP addresses no more checked when using
proxy.UModeFastestAddr.