Fallback returns the DNS query statistics for the fallback DNS servers. us and its items must not be modified.
()
| 83 | // Fallback returns the DNS query statistics for the fallback DNS servers. us |
| 84 | // and its items must not be modified. |
| 85 | func (s *QueryStatistics) Fallback() (us []*UpstreamStatistics) { |
| 86 | return s.fallback |
| 87 | } |
| 88 | |
| 89 | // collectQueryStats gathers the statistics from the wrapped upstreams. |
| 90 | // resolver is an upstream DNS resolver that successfully resolved the request, |
no outgoing calls