c-ares dns: add option to filter unroutable IP families (#19287)

Commit Message: c-ares dns - add option to filter unroutable IP families.
Risk Level: low - opt in functionality
Testing: added tests
Docs Changes: updated
Release Notes: added

Signed-off-by: Jose Nino <jnino@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ bc63d2c850c2034007caff3267773814878abdeb
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent 8ed8130ebc
commit 5f0fc872d7
  1. 6
      envoy/extensions/network/dns_resolver/cares/v3/cares_dns_resolver.proto

@ -33,6 +33,12 @@ message CaresDnsResolverConfig {
// resolvers. Defaults to false.
bool use_resolvers_as_fallback = 3;
// The resolver will query available network interfaces and determine if there are no available
// interfaces for a given IP family. It will then filter these addresses from the results it
// presents. e.g., if there are no available IPv4 network interfaces, the resolver will not
// provide IPv4 addresses.
bool filter_unroutable_families = 4;
// Configuration of DNS resolver option flags which control the behavior of the DNS resolver.
config.core.v3.DnsResolverOptions dns_resolver_options = 2;
}

Loading…
Cancel
Save