Skip to content

Commit

Permalink
proxy: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Jan 29, 2025
1 parent 13a8241 commit 79703fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxy/dnscontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ func (p *Proxy) newDNSContext(proto Proto, req *dns.Msg, addr netip.AddrPort) (d
// - If the query was successfully resolved, the statistics contain the DNS
// lookup duration for the main resolver.
//
// - If the query was retrieved from the cache, the statistics will contain a
// single entry of [UpstreamStatistics] where the property "IsCached" is set
// to true.
//
// - If the upstream mode is [UpstreamModeFastestAddr] and the query was
// successfully resolved, the statistics contain the DNS lookup durations or
// errors for each main upstream.
Expand Down

0 comments on commit 79703fd

Please sign in to comment.