dns: adjust DNS refresh rate respecting to record TTL#6975
dns: adjust DNS refresh rate respecting to record TTL#6975mattklein123 merged 34 commits intoenvoyproxy:masterfrom
Conversation
Signed-off-by: Yan Xue <yxyan@google.com>
|
@crazyxy thanks for this. I haven't reviewed this, but a quick drive by that this definitely needs to be configurable and also needs documentation and release notes. Thank you! |
Signed-off-by: Yan Xue <yxyan@google.com>
mattklein123
left a comment
There was a problem hiding this comment.
Thanks for working on this. 2 big questions to get started.
/wait
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Add configurable, documentation and release notes. |
Signed-off-by: Yan Xue <yxyan@google.com>
lambdai
left a comment
There was a problem hiding this comment.
Have some comments in case you select not to change at upstream
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
|
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
This pull request has been automatically closed because it has not had activity in the last 14 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
Looks like c-ares/c-ares#259 has some progress.. |
Not actually. c-ares/c-ares#257 hasn't been merged. 😟 |
Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
|
@mattklein123 @htuch I created another small pr to switch to |
Upgrade c-ares. Part of #6975 Description: Upgrade c-ares. Switch from ares_gethostbyname to ares_getaddrinfo Risk Level: Med Testing: Unit test Docs Changes: N/A Release Notes: Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
|
@mattklein123 @htuch I merged the pr from the upstream to upgrade c-ares and updated this pr. Could you please take a look? Thanks! |
htuch
left a comment
There was a problem hiding this comment.
Implementation LGTM, I'll leave coverage of tests and final merge to @mattklein123. Thanks!
Signed-off-by: crazyxy <yxyan@google.com>
mattklein123
left a comment
There was a problem hiding this comment.
Thanks, LGTM with some small comments. Great work!
/wait
Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue <yxyan@google.com>
Signed-off-by: Yan Xue yxyan@google.com
Description: Querying record TTL when resolving the host name and adjust DNS refresh rate respecting to record TTL.
Risk Level: Medium
Testing: unit test
Docs Changes: https://github.com/envoyproxy/envoy/pull/6975/files#diff-cc6a4f8b8abf46253b0f3e14392ca6e9
Release Notes: https://github.com/envoyproxy/envoy/pull/6975/files#diff-d8d3e33358b55e6c0466dd1bb5f40c79
Fixes #Issue: #6876