Added
- The
DNSContext.QueryStatistics
method that returns the DNS query statistics for both the upstream and fallback DNS servers.
Changed
- Positional (non-flag) arguments now cause an error instead of being ignored.
Fixed
- The
upstream.ExchangeParallel
function now consistently returns a nil upstream in case of a DNS lookup error.
Removed
- The
DNSContext.CachedUpstreamAddr
andDNSContext.QueryDuration
properties.