Skip to content
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

feat(dns): support resolver_* directives for new dns client #13427

Merged
merged 18 commits into from
Aug 8, 2024

Conversation

chobits
Copy link
Contributor

@chobits chobits commented Jul 26, 2024

Summary

The new DNS implementation requires introducing a new set of directives because some directives (resolver_xxx) behave differently between the old and new libraries. Without clear differentiation, users might be confused by the inconsistent behavior of these directives in the new library.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix KAG-4994

@chobits chobits marked this pull request as draft July 26, 2024 08:28
@github-actions github-actions bot added core/templates cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Jul 26, 2024
@chobits chobits marked this pull request as ready for review July 29, 2024 23:57
@chronolaw

This comment was marked as resolved.

@chronolaw chronolaw self-requested a review July 31, 2024 03:19
@chronolaw
Copy link
Contributor

I think that we also need a change log entry to describe these directives.

@chobits
Copy link
Contributor Author

chobits commented Jul 31, 2024

Should we modify conf_loader/constants.lua for these new options?

Thanks, I have already fixed in new commit.

@chobits chobits requested a review from ADD-SP July 31, 2024 07:09
kong/tools/dns.lua Outdated Show resolved Hide resolved
@chobits chobits force-pushed the fix/new_dns_directives branch 3 times, most recently from 962ee49 to 3ce977d Compare August 5, 2024 06:04
kong.conf.default Outdated Show resolved Hide resolved
@chobits chobits force-pushed the fix/new_dns_directives branch 2 times, most recently from ba7ffe6 to 58efdc4 Compare August 7, 2024 02:11
@outsinre outsinre self-requested a review August 7, 2024 08:06
kong.conf.default Show resolved Hide resolved
kong.conf.default Outdated Show resolved Hide resolved
@dndx dndx merged commit 0f73339 into master Aug 8, 2024
25 checks passed
@dndx dndx deleted the fix/new_dns_directives branch August 8, 2024 09:23
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/configuration core/templates size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants