Skip to content

Conversation

rnavarro
Copy link
Collaborator

@rnavarro rnavarro commented Feb 2, 2025

Fix an issue with a miscalculation of the "root zone" for the direct admin (DA) server.

The old logic just used the zone name to calculate the root zone, but that zone might not have been a root zone on the actual DA server.

This fix pulls down a list of all the zones on the DA server and attempts to find a "best match" between the libredns zone name and an actual DA zone.

Also updated some docs about the tests and added a new env var to the .env.example file

@rnavarro rnavarro merged commit 9692f98 into main Feb 2, 2025
rnavarro added a commit that referenced this pull request Feb 2, 2025
@rnavarro rnavarro mentioned this pull request Feb 2, 2025
rnavarro added a commit that referenced this pull request Feb 2, 2025
@rnavarro rnavarro deleted the rnavarro/fix-root-zone-bug branch February 2, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant