Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Set TTL for the zones' NS records to None #243

Merged
merged 2 commits into from
Nov 10, 2022
Merged

Set TTL for the zones' NS records to None #243

merged 2 commits into from
Nov 10, 2022

Conversation

peteeckel
Copy link
Contributor

fixes #242

This very small change sets a zone's default TTL to None for all new and updated zones, as well as for all existing zones via a data migration.

As a result, NS records will still follow the zone's default TTL if the zone data are created with a $TTL tag or similar mechanism in place (which is recommended anyway to avoid falling back to the SOA MINIMUM_TTL setting for successful queries).

@hatsat32: This PR can't be merged together with #240 as both have migrations. That needs to be fixed when the merge conflict pops up.

@peteeckel
Copy link
Contributor Author

@hatsat32: Merge conflicts have been fixed now.

@hatsat32 hatsat32 merged commit c8837f1 into auroraresearchlab:main Nov 10, 2022
@peteeckel peteeckel deleted the fix/ns-records-ttl branch November 20, 2022 12:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NS records still have fixed TTL
2 participants