Releases: AdguardTeam/dnsproxy
Release v0.49.0
Changed
-
upstream.Resolver
is now an interface type. Its methodLookupNetIP
, replacingLookupIPAddr
, returns a slice ofnetip.Addr
s. -
upstream.NewResolver
now returns the new interface type. -
upstream.LookupParallel
now uses the new interface type.
Deprecated
-
Several functions in package
proxyutil
:proxyutil.UDPGetOOBSize
;proxyutil.UDPSetOptions
;proxyutil.UDPRead
;proxyutil.UDPWrite
.
These functions will be removed in a future release.
Release v0.48.3
Added
proxy.Config.PreferIPv6
andupstream.Options.PreferIPv6
fields to instruct the bootstrap DNS resolver to prefer IPv6 addresses.
Release v0.48.2
Fixed
- Panic in
proxy.(*Proxy).LookupIPAddr
on empty host. It now returnsproxy.ErrEmptyHost
in this case.
Release v0.48.1
Fixed
- Panic in DNSCrypt when DNS64 is enabled (#323).
Release v0.48.0
Changed
- Updated
github.com/lucas-clemente/quic-go@v0.31.1
dependency github.com/quic-go/quic-go@v0.32.0
Fixed
- Requirements for domain names in domain-specific upstream configurations have been relaxed to meet those from RFC 3696.
Removed
- Go 1.18 support, as it has reached end of life.
Release v0.47.0
Added
-
New
UseDNS64
andDNS64Prefs
fields inproxy.Config
used to configure the DNS64. -
New
PrivateRDNSUpstreamConfig
field inproxy.Config
which will resolve the PTR requests for addresses considered private. Note, that it's only used for DNS64 PTR requests for the moment.
Removed
SetNAT64Prefix
method ofproxy.Proxy
used to set a single DNS64 prefix (AdguardTeam/AdGuardHome#5117). Consider usingDNS64Prefs
field ofproxy.Config
instead.
Release v0.46.6
Fixes netbsd build
Release v0.46.5
Fixed
-
Unnecessary errors on closing DNS-over-TLS upstreams (AdguardTeam/AdGuardHome#5251).
-
Improved cache performance (AdguardTeam/AdGuardHome#5248).
-
Occasional panics in DNS-over-HTTPS upstreams (#278).
Release v0.46.4
Fixed
proxy.Proxy.ClearCache
method panicking.
Release v0.46.3
Added
-
proxy.Proxy.ClearCache()
method to clear DNS cache. -
--pprof
command-line flag to expose the debug API onhttp://localhost:6060
.