Mastercard/restapi works with
DNZ’s records API.
1
Create a token
Under Settings → API tokens, create a token with
records.write (and zones.read), limited
to the zones Terraform manages. See API tokens.2
Find the zone's id
dnz --json zone list.3
Describe the records
main.tf