Releases: AdguardTeam/dnsproxy
Releases · AdguardTeam/dnsproxy
Release v0.73.4
Changed
- Improved resource consumption (AdguardTeam/AdGuardHome#7357).
Release v0.73.3
Release v0.73.2
Fixed
- Get rid of
github.com/jessevdk/go-flags
dependency (#182).
Release v0.73.1
Fixed
- The
hosts-file-enabled
field of the YAML configuration could not be parsed (#413).
Release v0.73.0
Acknowledgements
A special thanks to our contributor @sanyo0714 (#412), as well as to everyone who helped us with this release!
Added
- The
--hosts-file-enabled
and the--hosts-files
options, which control the preliminary resolvingA
,AAAA
andPTR
requests from hosts (5) files before using the upstream servers.
Note
The functionality is enabled and uses the OS-specific hosts files by default. To disable it, use --hosts-file-enabled=false
option.
Changed
- The
upstream.AddressToUpstream
now validates the host as a domain name, as opposed to the hostname validation used before (#411). The same also applies to theproxy.ParseUpstreamConfig
function. - The
proxy.MessageConstructor
interface has been changed to include one additional methodNewMsgNODATA
.
Removed
proxy.CheckDisabledAAAARequest
function, useproxy.RequestHandler
to halt AAAA requests.proxy.GenEmptyMessage
function.
Release v0.72.3
Changed
- Updated
golibs
dependency.
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.Config
struct now contains the newslog.Logger
field which is used as the base logger for proxy service. If nil,slog.Default
is used.upstream.Options
with those you can configure the upstream properties now contain a newslog.Logger
field which is used as the base logger during configuration and parsing processes. If nil,slog.Default
is used.
Changed
proxy.Config.UpstreamMode
which determines the logic for upstreams has been changed, it is now of typeproxy.UpstreamMode
. If not specified theproxy.UpstreamModeLoadBalance
is used.proxy.CheckDisabledAAAARequest
has been deprecated, useproxy.RequestHandler
instead.fastip.NewFastestAddr
which initializes a new instance offastip.FastestAddr
is deprecated, usefastip.New
instead.upstream.NewDefaultHostsResolver
has been changed. Now it requires a non-nilslog.Logger
as an additional argument.
Removed
proxy.UModeLoadBalance
,proxy.UModeParallel
andproxy.UModeFastestAddr
have been removed. Use the new corresponding typeproxy.UpstreamMode
.- Deprecated
proxy.Init
has been removed. - Deprecated
upstream.LookupParallel
has been removed.
Release v0.71.2
Changed
- The
quic-go
dependency has been updated tov0.44.0
.