-
Notifications
You must be signed in to change notification settings - Fork 84
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
android DNS: add ability to use fallback nameservers #1953
Changes from all commits
e937b49
8025b51
7c14dbf
f733c70
df16b30
c967e28
d5858b1
e279b30
97f8280
232bb61
3cfa846
fa15562
ec58100
4d550e4
502ccb2
e07a0bc
99d101c
18aed78
ff2786d
d249559
040f545
88ac9d3
8b09ad7
53a927d
280ed93
2da3985
b967fe5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,8 @@ const std::string config_header = R"( | |
- &dns_fail_max_interval 10s | ||
- &dns_query_timeout 25s | ||
- &dns_preresolve_hostnames [] | ||
- &dns_resolver_name envoy.network.dns_resolver.cares | ||
- &dns_resolver_config {} | ||
- &enable_interface_binding false | ||
- &h2_connection_keepalive_idle_interval 100000s | ||
- &h2_connection_keepalive_timeout 10s | ||
|
@@ -267,6 +269,9 @@ R"( | |
base_interval: *dns_fail_base_interval | ||
max_interval: *dns_fail_max_interval | ||
dns_query_timeout: *dns_query_timeout | ||
typed_dns_resolver_config: | ||
name: *dns_resolver_name | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need a default for this. I think it makes sense to just specify c-ares as the default above (along with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @goaway I was wondering if this was the case. I make overrides for it on both the java and objc definitions so I saw no point in putting in a default in the common template given there is no common default. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right now the default (header + config) with no overrides is a valid config. I'd like to keep it that way. One reason is that we can start to use it in tests, instead of the canned configs some tests use (that have tendency to drift). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's fair. Will update. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you! |
||
typed_config: *dns_resolver_config | ||
# TODO: make this configurable for users. | ||
- name: envoy.filters.http.decompressor | ||
typed_config: | ||
|
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.
nit: I'd suggest a string quoting approach that doesn't require a bunch of inline escaping