Skip to content

LUADNS: populate zone cache after creating zone#3335

Closed
das7pad wants to merge 1 commit intoStackExchange:mainfrom
das7pad:luadns-create-zone
Closed

LUADNS: populate zone cache after creating zone#3335
das7pad wants to merge 1 commit intoStackExchange:mainfrom
das7pad:luadns-create-zone

Conversation

@das7pad
Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
Collaborator

riku22 commented Jan 12, 2025

Thank you for the fix.

Lgtm.

@tlimoncelli
Copy link
Copy Markdown
Contributor

@das7pad Please rebase.

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