Skip to content

fix: update TTLSeconds to be a pointer in DNSPolicy#4

Merged
tomfrenzel merged 1 commit intomainfrom
fix-ttl
Apr 16, 2026
Merged

fix: update TTLSeconds to be a pointer in DNSPolicy#4
tomfrenzel merged 1 commit intomainfrom
fix-ttl

Conversation

@tomfrenzel
Copy link
Copy Markdown
Collaborator

This makes TTLSeconds a pointer and restores the omitempty attribute. That way record types that do not support TTL will not serialize the TTLSeconds property while the ones that require a TTL will default to 0 if none is specified.

@tomfrenzel tomfrenzel merged commit 695d1d6 into main Apr 16, 2026
1 check passed
@tomfrenzel tomfrenzel deleted the fix-ttl branch April 16, 2026 17:04
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