feat(domains): add TrackingCAA record support#100
Merged
Conversation
The Domains API now returns an additional `TrackingCAA` DNS record on create/get responses when a tracking subdomain is configured AND the customer's root domain has CAA records that would block AWS from issuing a certificate. `DomainRecord.Record` is already a free-form string so the new value deserializes without a code change. Update the xmldoc remark to list `TrackingCAA` as a possible value, and add a deserialization test that covers the new record alongside the existing Tracking record. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
drish
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Domains API now returns an additional DNS record on
POST /domainsandGET /domains/:idresponses when:tracking_subdomainis configured on the domain, ANDThe new record looks like:
{ "record": "TrackingCAA", "name": "", "type": "CAA", "ttl": "Auto", "value": "0 issue \"amazon.com\"", "status": "verified" }DomainRecord.Recordis already a free-form string so no source change is required for deserialization. This PR:DomainRecord.Recordto listTrackingCAAas a possible value.Domain_deserializes_tracking_caa_recordtest that exercises bothTrackingandTrackingCAArecords end-to-end.Test plan
TrackingandTrackingCAArecords and asserts every fieldSummary by cubic
Add support for the
TrackingCAADNS record in Domains API responses when a tracking subdomain is set and existing CAA records would block AWS certificate issuance. No runtime changes needed; updatedDomainRecord.Recordremarks to includeTrackingCAAand added a unit test that deserializes bothTrackingandTrackingCAArecords.Written for commit f058726. Summary will update on new commits.