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

chore: clean dns code #9673

Merged
merged 1 commit into from
Nov 8, 2024
Merged

chore: clean dns code #9673

merged 1 commit into from
Nov 8, 2024

Conversation

DmitriyMV
Copy link
Member

Split from #9596 (without IPv6 stuff). This PR does this things:

  • Refactored DNSResolveCacheController. Most of the logic moved to dns package types. Simplify and streamline logic.
  • Replace most of the goroutine orchestration with suture package.
  • Support per-item reaction to the dns listeners/servers failing to start. This allows us to ignore IPv6 errors if it's disabled.
  • Support per-item reaction to the dns listeners/servers failing to stop.

@DmitriyMV DmitriyMV force-pushed the refactor-dns branch 3 times, most recently from 61bf5f2 to 875477a Compare November 8, 2024 17:28
Split from siderolabs#9596 (without IPv6 stuff). This PR does this things:
- Refactored `DNSResolveCacheController`. Most of the logic moved to `dns` package types. Simplify and streamline logic.
- Replace most of the goroutine orchestration with suture package.
- Support per-item reaction to the dns listeners/servers failing to start. This allows us to ignore IPv6 errors if it's disabled.
- Support per-item reaction to the dns listeners/servers failing to stop.

Signed-off-by: Dmitriy Matrenichev <[email protected]>
@DmitriyMV
Copy link
Member Author

/m

@talos-bot talos-bot merged commit 4fe6dc8 into siderolabs:main Nov 8, 2024
50 checks passed
@DmitriyMV DmitriyMV deleted the refactor-dns branch November 9, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants