// If the config has dns_resolution_config, create a CaresDnsResolverConfig typed config based on
// a CaresDnsResolverConfig typed config. This logic fit for bootstrap, and dns_cache config types.
// Overloading the template function for DnsFilterConfig type, which doesn't need to copy anything.
envoy::config::core::v3::TypedExtensionConfig makeDnsResolverConfig(const ConfigType& config) {