-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dns: allow using the getaddrinfo
-based system DNS resolver
#2419
dns: allow using the getaddrinfo
-based system DNS resolver
#2419
Conversation
For non-Apple platforms like Linux and Android. Updated the Kotlin, Java & C++ builders. Added here: envoyproxy/envoy#22080 Signed-off-by: JP Simard <jp@jpsim.com>
getaddr
-based system DNS resolver
dnsResolverConfig = String.format( | ||
"{\"@type\":\"type.googleapis.com/envoy.extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig\",\"resolvers\":%s,\"use_resolvers_as_fallback\": %s, \"filter_unroutable_families\": %s}", | ||
dnsFallbackNameserversAsString, !dnsFallbackNameservers.isEmpty() ? "true" : "false", | ||
dnsFilterUnroutableFamilies ? "true" : "false"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no action needed - just want to point out that for our new resolver dnsFilterUnroutableFamilies
is effectively always equal to true
as I pointed out in https://github.com/envoyproxy/envoy/pull/22080/files#r919203157.
Just something for future us - we will need to clean up all of the DNS flags/options that we expose.
getaddr
-based system DNS resolvergetaddrinfo
-based system DNS resolver
Co-authored-by: Rafał Augustyniak <Augustyniak@users.noreply.github.com> Signed-off-by: JP Simard <jp@jpsim.com>
Co-authored-by: Rafał Augustyniak <Augustyniak@users.noreply.github.com> Signed-off-by: JP Simard <jp@jpsim.com>
library/java/io/envoyproxy/envoymobile/engine/EnvoyConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: JP Simard <jp@jpsim.com>
They aren't configurable with the getaddrinfo-based resolver. Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
* main: tools: fix source mapping (#2429) Update Envoy (#2427) tools: add arm64 debug run configuration (#2424) Revert "docs: use sphinx githubpages extension (#2418)" (#2425) Remove Tulsi configuration & docs (#2421) Fix isCleartextTrafficPermitted (#2420) Squelch two JNI build warnings (#2426) dns: allow using the `getaddrinfo`-based system DNS resolver (#2419) docs: use sphinx githubpages extension (#2418) Update Envoy (#2417) Remove rules_cc uses Bump Lyft Support Rotation (#2414) iOS: fix retain cycles in `EnvoyNetworkMonitor` (#2415) Update Envoy (#2413) engine: remove outdated comment about `registerFactories()` (#2412) api: make RequestTrailersBuilder and ResponseHeadersBuilder constructors public (#2410) Signed-off-by: JP Simard <jp@jpsim.com>
For non-Apple platforms like Linux and Android.
Updated the Kotlin, Java & C++ builders.
Added here: envoyproxy/envoy#22080
Risk Level: Low to moderate, off by default but I had to refactor some stuff.
Testing: Added.
Docs Changes: Documentation comments.
Release Notes: Added.
Signed-off-by: JP Simard jp@jpsim.com