* @return a cache load result which includes both a status and handle. If the handle is non-null
virtual LoadDnsCacheEntryResult loadDnsCacheEntry(absl::string_view host, uint16_t default_port,
return loadDnsCacheEntryWithForceRefresh(host, default_port, is_proxy_lookup, false, callbacks);
* @param is_proxy_lookup indicates if the request is safe to fast-fail. The Dynamic Forward Proxy
* filter sets this to true if no address is necessary due to an upstream proxy being configured.
* @return the DNS host info associated with the given host name if the host's address is cached,
* Stops the DNS cache background tasks by canceling the pending queries and stopping the timeout
getCache(const envoy::extensions::common::dynamic_forward_proxy::v3::DnsCacheConfig& config) PURE;