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

LUADNS: populate zone cache after creating zone #3335

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

das7pad
Copy link
Contributor

@das7pad das7pad commented Jan 8, 2025

Hi @riku22!

While reviewing all the ZoneCreator implementations, I noticed that the LUADNS provider has an incomplete caching implementation for zones. The provider is populating the cache once on first access. Any zones that are created will not be readable in the same life-cycle of dnscontrol. This PR is populating the zone cache after creating a zone. Would you mind giving this a try and let me know how it goes? Thanks!

Part of #3007

@riku22
Copy link
Contributor

riku22 commented Jan 12, 2025

Thank you for the fix.

Lgtm.

@tlimoncelli
Copy link
Contributor

@das7pad Please rebase.

@das7pad das7pad force-pushed the luadns-create-zone branch from af976e4 to 7859fbb Compare January 13, 2025 19:33
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