Skip to content

[targets] Provide options to control DNS caching behavior further - #831

Merged
manugarg merged 16 commits into
masterfrom
dns_control
Aug 28, 2024
Merged

manugarg merged 16 commits into
masterfrom
dns_control

Conversation

@manugarg

@manugarg manugarg commented Aug 21, 2024 •

Copy link
Copy Markdown
Contributor

Provide a way to specify more DNS options and improve overall resolver interface.

  • Provide an option to specify max cache age for DNS resolution. This value will control for how long we can return a cached IP in case of DNS resolution failure.
  • Add an option to specify backend timeout for DNS resolution. This value will control for how long we'll wait for DNS resolver to respond.
  • Make resolver package provide an interface - Resolver, instead of the full implementation. Now that we have proper resolver initialization methods, we don't need to expose the implementation anymore. That simplifies resolver passing between targets and other modules like gce.

@manugarg manugarg changed the title Provide options to control DNS caching behavior further [targets] Provide options to control DNS caching behavior further Aug 22, 2024
@manugarg manugarg added this to the v0.13.8 milestone Aug 27, 2024
@manugarg
manugarg marked this pull request as ready for review August 28, 2024 20:15
@manugarg
manugarg merged commit 80a10f5 into master Aug 28, 2024
@manugarg
manugarg deleted the dns_control branch August 28, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant