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

[Spike] Weighted DNS response parity #364

Closed
2 tasks done
maleck13 opened this issue Jan 29, 2025 · 1 comment
Closed
2 tasks done

[Spike] Weighted DNS response parity #364

maleck13 opened this issue Jan 29, 2025 · 1 comment
Assignees

Comments

@maleck13
Copy link
Contributor

maleck13 commented Jan 29, 2025

What

Investigate how we can have a weighted DNS response that gives us parity on what we offer now with Cloud DNS providers.

Ideally we would figure this out via some form of PoC to prove the ideas

Done

  • Identify if it is possible
  • Create a plan for the implementation and document
@maleck13 maleck13 changed the title [Spikes] Weighted DNS response parity [Spike] Weighted DNS response parity Jan 29, 2025
@maleck13 maleck13 moved this to Todo in Kuadrant Jan 29, 2025
@maleck13 maleck13 moved this from Todo to In Progress in Kuadrant Feb 10, 2025
@maleck13 maleck13 moved this from In Progress to Todo in Kuadrant Feb 12, 2025
@mikenairn mikenairn self-assigned this Feb 19, 2025
@mikenairn mikenairn moved this from Todo to In Progress in Kuadrant Feb 19, 2025
@mikenairn
Copy link
Member

Weighted records handling was added to the POC here

It makes use of the CoreDNS loadbalanced plugin logic.

We can't use that plugin directly since it only deals with weighted A records and expects a weight value to be assigned to the ip address. We want deal with weights being assigned to any type of record (CNAME or A), and dealt with at each stage of the recursive resolve of CNAME records down to A.

The logic is not overly complicated so i don't think its a huge issue to have that dealt with in our own code base, It gives us more control over how it works and makes fixing issues issues easier if needs be. Other similar plugins to ours, that do similar things with weighting have also opted to implement much of it themselves.

@mikenairn mikenairn moved this from In Progress to Ready For Review in Kuadrant Feb 20, 2025
@github-project-automation github-project-automation bot moved this from Ready For Review to Done in Kuadrant Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants